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 » CExtDynamicControlBar and WM_SHOWWINDOW Collapse All
Subject Author Date
Gevork Odabashyan Oct 18, 2006 - 5:17 AM

Hellow

I have a CExtDynamicControlBar and a CExtResizableDialog in it. The dialog doesn’t receve WM_SHOWWINDOW when dynamic control bar is hiding. Is it normal and if it’s so, how can the dialog now that the control bar is hiding?

Technical Support Oct 20, 2006 - 1:19 PM

The child of any control bar typically never becomes hidden. Its is always set to be visible even if its parent control bar window is hidden. That is the presence of the WS_VISIBLE standard window style of the child window does not depend on whether the WS_VISIBLE style is present in its parent control bar window. For a dynamic control bar you can detect if its state is changed easily by overriding the CExtDynamicControlBar::BarStateSet() virtual method.