Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS Tech Support » CExtResizableDialog Assert Collapse All
Subject Author Date
Bradley Bell Oct 23, 2004 - 6:21 PM

Help.  I’m getting an assert when I try and create a dialog based on CExtResizableDialog...  CDialog does not exhibit this behavior.


For example


CMyDialog cDlg;


cDlg.DoModal();


From dlgcore.cpp line 436 (using v2.26 - vc++ 7.1)


430: BOOL CDialog::InitModalIndirect(LPCDLGTEMPLATE lpDialogTemplate, CWnd* pParentWnd, void* lpDialogInit)


432: {


433: // must be called on an empty constructed CDialog


434: ASSERT(m_lpszTemplateName == NULL);


435: ASSERT(m_lpDialogTemplate == NULL);


436: ASSERT(lpDialogTemplate != NULL);


438: if (m_pParentWnd == NULL)


439: m_pParentWnd = pParentWnd;


441: m_lpDialogTemplate = lpDialogTemplate;


442: m_lpDialogInit = lpDialogInit;


444: return TRUE; // always ok (DoModal actually brings up dialog)


}


 


Thanks for any help, - Bradley

Technical Support Oct 25, 2004 - 11:00 AM

We sent you an update that should resolve the problem by e-mail. We plan to publish this update within a few days.

Dmitry Dulepov Oct 25, 2004 - 2:55 PM

Same for me. Dialog template is NULL... Would be nice if you publish the fix sooner.