![]() |
How to remove menu item |
Post Reply ![]() |
Author | |
Heath ![]() Groupie ![]() Joined: 05 April 2004 Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() Posted: 31 January 2011 at 6:17am |
Hi,
Using command bars we have a menu item in the MainFrame which we want to remove (not hide) on startup. I found the HideCommand() function, but I can't find a Remove equivalent.
![]() If there isn't an easy method using CJ (would be nice if there was), can someone recommend a quick way of doing it.
Thanks,
Heath.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
pMenuBar->GetControls()->Remove(nIndex); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Heath ![]() Groupie ![]() Joined: 05 April 2004 Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
Thanks Oleg.
That sent me in the right direction.
Regards,
Heath.
|
|
![]() |
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 |