System menu activation from a CDialogBar
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have an MFC MDI application that includes a CDialogBar. Inside the CDialogBar there is a CTabCtrl that hosts a bunch of dialog boxes. The problem that I am having is: How do I make Alt-F open the system menu when the focus is in one of the dialogs on the CDialogBar? I have handled the WM_MENUCHAR message in my CMainFrame class and I get notification there, but I haven't figured out how to make the menu open normally. Is this the right way to do this? Is there a better way to handle mnemonics in this situation? I need to make all the mnemonics work no matter where they are, and no matter where the focus currently is. Any help would be greatly appreciated. Thanks!