Working with toolbars (CToolBar) in MFC SDI application.

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.

Who is Participating?
migelConnect With a Mentor Commented:
These grey buttons apperas due to MFC not found command handlers for they.
Just define command handlers methods in the your MainFrame window.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.