cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
Creating a menu in window without menu
Creating a menu in window without menu
Jun 15, 2012 at 5:43pm UTC
theafien
(4)
I'm trying to put a menu in a window without menu.
I made a dll with the menu resource and used the following code to enable the menu:
1
2
hMenu = LoadMenu(hModule, MAKEINTRESOURCE(IDR_MENU));
// hModule = mydll
SetMenu(t_hWnd, hMenu);
The menu is displayed, but the menu is disabled, but when I put the feature manually in .exe and load the menu for my dll everything is well, someone has experienced this or know how to solve?
I want make menu without modification in .exe original
Last edited on
Jun 15, 2012 at 5:44pm UTC
Topic archived. No new replies allowed.