![]() |
why remove submenuitem? |
Post Reply
|
| Author | |
copycd
Newbie
Joined: 20 December 2006 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: why remove submenuitem?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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 January 2007 at 5:58am |
|
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 |