Solved

Toolbar button and menus

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Login Script to Copy Folders 12 28
Folder Comparison 12 53
Detect CR LF to each line 12 152
EvenOdd challenge 10 88
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

932 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

10 Experts available now in Live!

Get 1:1 Help Now