Click to See Complete Forum and Search --> : Menu doesnt load


Brads
September 19th, 2005, 10:47 AM
SEVEN_ANGEL MENU FIXED
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Exit", IDM_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&About", IDM_ABOUT
END
END
I use resource editor to add menu to my winprogram, I do
wc.lpszMenuName = "SEVEN_ANGEL";
But it doesnt work, help available ?

Thanks for free help,

Brads!

Brads
September 19th, 2005, 10:51 AM
I forgot to add that in CreateWindow()'s menu parameter, I also tried passing
LoadMenu(hinst,MAKEINTRESOURCE("SEVEN_ANGEL"))
but it's still useless :sad:

Brads!

rxbagain
September 19th, 2005, 11:31 AM
Remove the quotation marks.LoadMenu(hinst,MAKEINTRESOURCE(SEVEN_ANGEL))Dont forget to include your resource.h

Hope it will help you