I searched around and none of the suggestions I found work.
myBar->ModifyStyle(WS_SYSMENU, 0, 0);
That doesn't work, at the least because the toobar has no sysmenu.
CWnd* pWnd = myBar->GetDockingFrame();
pWnd->ModifyStyle(WS_SYSMENU, 0, 0);That removes the close button from the main application window.
CWnd *pWnd = myBar->GetParent();
pWnd->ModifyStyle(WS_SYSMENU, 0, 0);That also removes the close button from the main application window.
One article talked about a CMiniDockFrame as being in charge of the CToolbar and in control of the SYSMENU.
But I cannot figure out how to get to it.
Any ideas? 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.
