Solved

Working with toolbars (CToolBar) in MFC SDI application.

Posted on 2002-06-28
1
1,107 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
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

22 Experts available now in Live!

Get 1:1 Help Now