Activating / Deactivating menus and toolbars
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a program in which I have to activate / deactivate different menu options in different stages of the program. How can I do this? I also have to activate / deactivate a toolbar. I've managed to do this at startup by chaging the commands id's with SetButtonInfo. When I want to activate I use again SetButtonInfo to associate the right commands to the buttons and then the toolbar becomes active. If I try to change again the commands ids the toolbar doesn't deactivates again. ----- We are what we repeatedly do. Excellence, then, is not an act, but a habit.