greying and changing menu items

How is this done? Could someone post some sample code using visual c++?

Comments

  • : How is this done? Could someone post some sample code using visual
    : c++?
    :

    In VC++ 6.0 use class wizard and implent the UPDATE_COMMAND_UI for the menu you want to disable or enable at runtime. The wizard will create a function which is called when you click the major menu (such as File), your function returns either TRUE or FALSE indicating whether to enable or disable the menu item.


    =============================================
    never lie -- the government doesn't like the competition. (Author unknown)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion