|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
zhang mingjie
|
Jan 30, 2005 - 10:25 PM
|
I am using CExtComboBox class about prof-uis227, I add some dialogs to CExtPageContainerWnd, when I add contents to CExtComboBox contriol which is in dialogs,I find the programe assume bug. please help me to solve this problem. Basic code is bwllowing
|
|
zhang mingjie
|
Jan 30, 2005 - 10:37 PM
|
class CDlgMeasure : public CExtResizableDialog CDlgMeasure m_dlgMeasure; m_wndPageContainer.PageInsert( m_dlgMeasure.GetSafeHwnd(), -1L, _T("Page One"), hIconForCaption, true ); the code bwllowing is written in CDlgMeasure;just for test CExtComboBox * pcmbBox = (CExtComboBox*)GetDlgItem(IDC_COMBO1); pcmbBox->AddString(_T("test"));
|
|
Technical Support
|
Jan 31, 2005 - 2:47 AM
|
When the dialog constructor is called, the dialog window and its child controls are not yet created. So, do not initialize dialog controls in the constructor. Please use the WM_INITDIALOG handler function instead.
|
|