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 » Elegant Ribbon Tech Support » Problem with CExtControlBar and vista alt-tab Collapse All
Subject Author Date
Joe Fromm Mar 17, 2008 - 3:56 PM

We have several control dialogs that are derived from CExtControlBar. The problem is that if these dialogs are floating instead of docked, they show up in the list of windows given by alt-tab in vista (or by using the "alt-tab replacement" powertoy - http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx).

The usual method of solving this is to give the control bar the WS_EX_TOOLWINDOW extended style, but that doesn’t work because in CExtDockMiniFrameWnd::OnWindowPosChanging the extended styles defined by:

#define __REMOVED_STYLES_EXTENDED     (WS_EX_TOOLWINDOW|WS_EX_STATICEDGE|WS_EX_WINDOWEDGE|WS_EX_DLGMODALFRAME)

are always removed from the window.

Is there a reason that WS_EX_TOOLWINDOW has to be removed, or some other way to remove a toolwindow from the alt-tab list?

I would appreciate any help you could give.

Joe Fromm Mar 18, 2008 - 8:00 AM

Sorry, please disregard. I posted this in the wrong forum.