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 General Discussion » When CExtContrlBar is Floating the CFormView in it doesn't work Collapse All
Subject Author Date
Sungsoo Yoon Jan 15, 2006 - 8:32 PM


Dear Pfof-UIS


 


I always thank you for your all help.


I made a MDI style application that has CExtControlBar instance with CFormView one.


If the CExtControlBar instance is docked to mainframe the CFormView works well. but If Floating, it doesn’t work.


As I know the reason is that CFormView doesn’t receive WM_INITIALUPDATE so OnInitialUpdate member function doesn’t start.


Why does this things happen? How can I resolve this problem?


I already sent you e-mail including VC6.0 projet

Technical Support Jan 16, 2006 - 8:11 AM

WM_INITIALUPDATE is MFC’s internal message. If the OnInitialUpdate() method is called then nobody can guarantee that the WM_INITIALUPDATE message will be handled. The OnInitialUpdate() method can be invoked directly from MFC code or from by your code. If you are using the view window not as the main SDI view window or a view inside the MDI child frame window, then nobody is responsible for calling the OnInitialUpdate() method. Please handle the WM_INITDIALOG message instead.