Original Post
I made test resource file in notepad with the following:
menu MENU
{
POPUP "Help"
{
MENUITEM "One",1
MENUITEM "Two",2
MENUITEM "Three"
}
I have this line in my window class code:
winClass.lpszMenuName = "menu";
I also tried winClass.lpszMenuName = LoadMenu(hInstance, "menu");
I am not using numeric constants.
The first way compiles and builds fine, but the menu is not shown on a overlappedwindow with vertical and horizontal scroll bars.
the second way gives me a cast error
Anyone help?