Solved

Working with toolbars (CToolBar) in MFC SDI application.

Posted on 2002-06-28
1
1,125 Views
Last Modified: 2013-11-20
I create a basic SDI application using the wizard in Visual Studio 6.0

By default the toolbar buttons for "Cut" "Copy" and "Paste" are disabled. How can I make these toolbar buttons enables by default.

Also If I add my own toolbar, all the buttons in it are disabled by default. How can i enable them when the app starts.

Thanks
0
Comment
Question by:ittijindani
[X]
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
1 Comment
 
LVL 12

Accepted Solution

by:
migel earned 50 total points
ID: 7116964
Hi!
These grey buttons apperas due to MFC not found command handlers for they.
Just define command handlers methods in the your MainFrame window.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 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