Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Remove/hide a submenu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remove/hide a submenu

 Post Reply Post Reply
Author
Message
FrankC View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Location: United States
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote FrankC Quote  Post ReplyReply Direct Link To This Post Topic: Remove/hide a submenu
    Posted: 07 October 2008 at 3:57pm

From a command ID, how can I find and hide/remove the submenu where the ID resides?

Thanks,
Frank
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2008 at 1:41am
Hi,
 
Most easy way is to assign some Id for this submenu.
In resource Editor set its id after \t :
 
"Menu\t200"
now you can add Update handler for Id = 200 and hide it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
FrankC View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Location: United States
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote FrankC Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2008 at 10:35am
Thanks Oleg.
 
Is the "Menu" in the Caption field instead of ID field, as the ID field is disenabled for a submenu name? 
 
If type "Menu\t200" in the Caption field then the "200" will become the shortcut key of Menu.
 
Could you please explain a little more about this method?
 
Thanks,
Frank
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2008 at 1:27am

Hi,

What Toolkit version do you have ? if it become shortcut it means your toolkit very old :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
FrankC View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Location: United States
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote FrankC Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2008 at 10:03am

We just purchased Xtreme Toolkit Pro 2008 version 12.0.2.

Thanks,
Frank
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 October 2008 at 2:06am
Hi,
ok, So you type"Menu\t200" and see 200 as shortcut and this "Menu" is popup menu type ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.033 seconds.