![]() |
why remove submenuitem? |
Post Reply ![]() |
Author | |
copycd ![]() Newbie ![]() Joined: 20 December 2006 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 22 January 2007 at 1:06am |
CXTPCommandBar* pMenuBars = pCommandBars->GetMenuBar();
CXTPControl* pMenu = pMenuBars->GetControl(2); // Get Debug Item;
I don't know how get menu item point.
and control.
I want to remove dynamicaly on runtime.
( ex) remove windows item, or Immediate Item
Please~ help me.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
CXTPControl* pMenu = pMenuBars->GetControl(2);
pMenu->GetCommandBar()->GetControl(3);
Don't forget that user can move popup/delete or duplicate.... Check Samples\CommandBars\DynamicPopups sample.
|
|
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 |