At 10/23/2004 07:08 AM, Max wrote:

>Might it be easier to override the Toolbars OnClose so the Toolbar stays
>there but still has the close button.
>
>Does the toolbar inherit this style from a parent window?

In Spy, the hierarchy looks like this:

Desktop:

    Afx:00400000:8:00010011:00000000:00000000:

        AfxControlBar70d:

            ToolBarWindow32:

But when I call GetParent from ToolBarWindow32, I get the owner, the same window as calling GetOwner (which is another window on the desktop, the main app I am running under).

The Afx:00400000:8:00010011:00000000:00000000 has the SYS_MENU that I want to disable, but I don't know how to get to it.

Phil Daley          < AutoDesk >
http://www.conknet.com/~p_daley





_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to