![]() |
Adding Icon to MenuBar of MDI |
Post Reply
|
| Author | |
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Topic: Adding Icon to MenuBar of MDIPosted: 12 September 2007 at 4:55am |
|
Like the old version 6 of Visual C++ that have the icon of the childFrm in the Menubar of MDI Application when resize the ChildFrm down, the icon in menubar will move out suddenly. I want to know how to add the icon of childfrm to the menu. I know we can use the tab toolbar for showing but I still think having this icon is better we don't use it.
Thank you.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 September 2007 at 5:30am |
|
Hi,
Think you mean xtpFlagAddMDISysPopup flag. Please try this code
CXTPMenuBar* pMenuBar = pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINFRAME);
pMenuBar->SetFlags(xtpFlagAddMDISysPopup); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
hikaroute
Groupie
Joined: 05 September 2007 Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 September 2007 at 5:57am |
|
Yes... Thank you so much.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |