Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Toolbar button and menus

Posted on 1998-12-21
1
175 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 80
how to monitor remote shell execution on linux 9 104
sum28 challenge 31 115
matchUp  challenge 9 115
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.

838 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