Professional UI Solutions
Site Map   /  Register


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 » CExtControlBar question Collapse All
Subject Author Date
tera tera Dec 2, 2008 - 11:55 PM


When Bar was done Show of, please teach a called virtual function.


Technical Support Dec 15, 2008 - 9:40 AM

Please process a WM_WINDOWPOSCHANGED message in the WindowProc() virtual method so that you can check if the control bar is visible using the CControlBar::IsVisible() method.

Technical Support Dec 12, 2008 - 10:32 AM

You should handle a WM_WINDOWPOSCHANGED message for your control bar and determine whether the control bar contains the WS_VISIBLE style . It should be created without the WS_VISIBLE style.

tera tera Dec 17, 2008 - 9:39 PM


What kind of message should I judge it by?

Technical Support Dec 18, 2008 - 11:46 AM

The window displayed from auto-hide tabs using the sliding animation is called the auto-hide slider control. This window looks like control bar but it’s not a control bar. The bar’s child window (color picker on your screen shot) is temporarily moved into the auto-hide slider window when it should be displayed from auto-hide tabs. So, the bar’s child window can simply handle the WM_WINDOWPOSCHANGED message and detect whether it’s parent is the CExtControlBar window. If the parent of color picker window is not the CExtControlBar window, then the color picker is displayed from auto-hide area.

tera tera Dec 15, 2008 - 2:36 AM

I want to catch WM_SHOWWINDOW.

In WindowProc, I cannot catch it

Technical Support Dec 3, 2008 - 10:02 AM

There is a CExtControlBar::OnControlBarPositionChange() virtual method ,which is invoked when the window visible state and/or window position the control bar has changed.

tera tera Dec 11, 2008 - 10:47 PM



When a bar was displayed for the first time, I want you to teach a virtual function.