simple question about Menu
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
- How to get the HWND of the menu? (MDI or SDI based) - Can you show me an example? - Regards, Maer
Menus aren't windows. If you need a menu handle (HMENU) call GetMenu() and pass it your main window's handle (AfxGetMainWnd() if you're using MFC). --Mike-- http://home.inreach.com/mdunn/ #include "witty_sig.h" :love: your :bob: with :vegemite: and :beer:
-
Menus aren't windows. If you need a menu handle (HMENU) call GetMenu() and pass it your main window's handle (AfxGetMainWnd() if you're using MFC). --Mike-- http://home.inreach.com/mdunn/ #include "witty_sig.h" :love: your :bob: with :vegemite: and :beer: