![]() |
create multiple menu |
Post Reply
|
| Author | |
coreware
Newbie
Joined: 27 July 2007 Location: Korea, South Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: create multiple menuPosted: 08 August 2007 at 4:25am |
|
Hi I'm developing multi-monitor application.
I use one frame but want to use multiple menu(clone) for each window.
Help me please.
Joshua.
|
|
![]() |
|
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 August 2007 at 4:28am |
|
As the use of multiple monitors grow I would like to see a Codejock solution for MDI applications so that I can use two or more monitorws with one App having View #1 in monitor 1 and View #2 in monitor 2.
I know I can almost do this with clever View / Docking pane logic, but a dark room, a lot of beer and the Codejock guys will no doubt come up with a good solution.
|
|
|
Simon HB9DRV
|
|
![]() |
|
coreware
Newbie
Joined: 27 July 2007 Location: Korea, South Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 August 2007 at 12:47am |
|
Well I did it as follows... Thanks.
CXTPMenuBar ** pMenuBar = new CXTPMenuBar * [m_nMonitorCount];
for(int i=0;i<m_nMonitorCount;i++){ pMenuBar = pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINFRAME); if(pMenuBar == NULL){ TRACE0("Failed to create menu bar.\n"); return -1; // fail to create } pMenuBar->EnableDocking(xtpFlagHideWrap); // Position Menu Bar |
|
![]() |
|
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 |