Print Page | Close Window

How to dynamicly modify MenuBar £¿

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3834
Printed Date: 10 November 2025 at 3:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to dynamicly modify MenuBar £¿
Posted By: WindFlashing
Subject: How to dynamicly modify MenuBar £¿
Date 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?




Replies:
Posted By: Oleg
Date Posted: 22 March 2006 at 7:30am

Hello,

pCommandBars->GetControls()->Add

pCommandBars->GetControls()->Remove

etc



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: WindFlashing
Date Posted: 22 March 2006 at 6:37pm
Thanks for your help!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net