Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to handle Menu Items on CommandBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to handle Menu Items on CommandBar

 Post Reply Post Reply
Author
Message
neobug View Drop Down
Newbie
Newbie


Joined: 26 December 2008
Location: Korea, South
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote neobug Quote  Post ReplyReply Direct Link To This Post Topic: How to handle Menu Items on CommandBar
    Posted: 26 December 2008 at 12:54am

Hi,

I would like to know how to disable or enable 'Menu Item' that is on CommandBar while program is running.
It means that if users make some event such as clicking play button on CommandBar, the stop button has enable status and play button has disable status.
Of course, if users click the stop button while playing something, the play button has enable status and stop button has disable status.

In addition, the variable of CommandBar exsist in the program, but I do not know how to handle each the buttons(Menu Items) on the CommandBar

Please let me know about them
Thank you

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: 26 December 2008 at 12:58am
Hi,
 
All our samples show it. See how Update event works in samples.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
neobug View Drop Down
Newbie
Newbie


Joined: 26 December 2008
Location: Korea, South
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote neobug Quote  Post ReplyReply Direct Link To This Post Posted: 26 December 2008 at 3:06am

Thanks a lot

I found some code that I need in the subdirectory of Xtream ToolkitPro(\Samples\CommandBars\ActionSample)
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.031 seconds.