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 will not load with CRichEditCtrl Collapse All
Subject Author Date
Scott Moore Feb 10, 2009 - 3:43 PM

I have a dialog, which is a child of a CExtDynamicControlBar.  When I call Create, it fails to load:


    if (!_imDlg.Create(InstantMessageDlg::IDD, _imCB))

    {

        TRACE0("Failed to create instant message window\n");

        return 0;

    }


but if I replace the CRichEditCtrl on the dialog with a CExtEdit control, everything works fine.  Is there some kind of issue with using a rich edit control with a Professional UI dialog?


Thanks,


Scott


 




Technical Support Feb 11, 2009 - 8:38 AM

Please ensure the AfxInitRichEdit() API is invoked during your application initialization. This API is typically invoked at the beginning of the InitInstance() virtual method of a CWinApp-derived class. A rich editor control is present in several Prof-UIS sample applications. We are sure there are no problems with it and Prof-UIS.