![]() |
How to dynamicly modify MenuBar £¿ |
Post Reply
|
| Author | |
WindFlashing
Groupie
Joined: 21 March 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Topic: How to dynamicly modify MenuBar £¿Posted: 22 March 2006 at 6:20am |
|
I use the follow setence to load a menu, pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINFRAME); I have known a MDIFrame switch method, but now I want to dynamicly modify it, such as add/delete sub menu item. Would you please tell me how to get it? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2006 at 7:30am |
|
Hello, pCommandBars->GetControls()->Add pCommandBars->GetControls()->Remove etc |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
WindFlashing
Groupie
Joined: 21 March 2006 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 March 2006 at 6:37pm |
|
Thanks for your help!
|
|
![]() |
|
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 |