Matt Ellison
May 20th, 1999, 10:47 AM
CRect m_size(100,100,500,500);
CEdit attempt;
CWnd * temp = (((CDialogApp*)AfxGetApp())->GetMainWindow());
temp->CalcWindowRect(m_size);
attempt.Create(ES_LEFT, m_size, ((CDialogApp*)AfxGetApp())->GetMainWindow(),6001);
attempt.ShowWindow(SW_SHOWNORMAL);
I cannot simply create a CEdit box on a simple dialog based project. What am i doing wrong. The pointers and everything look good but nothing seems to show up. thanks for any help
CEdit attempt;
CWnd * temp = (((CDialogApp*)AfxGetApp())->GetMainWindow());
temp->CalcWindowRect(m_size);
attempt.Create(ES_LEFT, m_size, ((CDialogApp*)AfxGetApp())->GetMainWindow(),6001);
attempt.ShowWindow(SW_SHOWNORMAL);
I cannot simply create a CEdit box on a simple dialog based project. What am i doing wrong. The pointers and everything look good but nothing seems to show up. thanks for any help