Extra System Menu Appearing
- From: "Db" <davebridgesatetamicusa.com>
- Date: Thu, 26 Oct 2006 14:13:07 -0400
I'm attempting to change the menu on a CMDIFrameWnd derived class when the
program enters certain states...
m_system_menu.LoadMenu(IDR_SYSTEM);
SetMenu(&m_system_menu);
DrawMenuBar();
There are 3 different states and this is all using the same document, the
menu change occurs fine.
But when I change to a different document an additional system menu icon and
a set of min, max, and close buttons is added. Each time I switch to a
document that causes the SetMenu to be called and switch back an additional
set of icons is added. The far left system menu continues to work properly,
clicking on any of the others results in an exception. All the min, max,
close buttons function normally.
Any help will be appreciated.
Db
.
- Prev by Date: Re: Standard MFC controls behave different when showing polish characters
- Next by Date: Re: What does CFindCtrl::FindItem() find?
- Previous by thread: What does CFindCtrl::FindItem() find?
- Next by thread: Re: How can I make a program which have a same icon with 'winmine'
- Index(es):