Hallo

I am creating one game with lite-c pure mode.
I want to use windows.h creating Menu and Sub-menu in the game windows.

I create Menu and insert this menu with the code
long menu=CreateMenu();
InsertMenu(menu,1,MF_BYPOSITION|MF_STRING|MF_POPUP,hSubMenu1,"Option");
but when i will set the menu to the windos, did not work beocause I did not know the name of windows.
SetMenu(long hWnd,menu);

How i could create Menu and Submenu in Lite-c Pure?

thx