![]() |
CXTPCommandBar |
Post Reply
|
| Author | |
simus
Groupie
Joined: 08 July 2005 Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPCommandBarPosted: 03 June 2008 at 8:21am |
|
Hi,
I have a CommandBar that is arranged as followed File Test &New &SubTest &Open subsubTest1 subsubTest2 What I would like to do is to hide the &SubTest control depending a registry value. But the &SubTest have no IDs only subsubTest1 have an ID. So the code I'm loking for is how to get the parent control of subsubTest1 from the whole command bar and then hide it. Thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 June 2008 at 9:22am |
|
Hi,
There is trick to assign some id for submenus. in menu editor change "&SubTest" to "SubTest\t100" now you can add Update Handler for id = 100 and hide it. |
|
|
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 |