Remove menu . |
Post Reply |
Author | |
Asha Udupa
Newbie Joined: 04 February 2004 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 19 April 2004 at 6:10am |
Hi I am using the following code to remove a menu item. CXTPControls* pControlView = (CXTPControls*)(GetCommandBars()->GetMenuBar())->GetCo ntrols(); After this if I try to open the same menu application crashes. Could any one please tell is this the right wa of deleting a menu item? Regards Asha
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
CXTPControl* pCommandNew = GetCommandBars()->GetMenuBar()->GetControls->FindCo ntrol(xtpControlButton, ID_DELITEM, TRUE,TRUE);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |