Solved

Toolbar button and menus

Posted on 1998-12-21
1
169 Views
Last Modified: 2013-11-20
I need to know how to make a toolbar button and menu commad work like the ID_FILE_PRINT that the APP Wizard creates (Enabled wen a view is active and disbled if not)
0
Comment
Question by:PedroMVG
1 Comment
 
LVL 2

Accepted Solution

by:
wyy_cq earned 70 total points
ID: 1326496
in MDI,
you can define the message handler in the view.

when there is not a view existing, the menu item is disabled automatically.

when view is active the menu is enable, of course you can disable it if you want.

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
GIF file bit manipulation for color change 5 104
mixString challenge 36 98
deburging in oracle form 12 77
scoreUp challenge 14 48
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now