I know how to make the window, i just have some questions
question 1;
How the hell, or heck, do you use resources? I tried a tutorial but it didn't work ;_;
question 2;
What is the message loop for?
question 3;
How do you display text into the window?
P.S. In the resources, i just want to make a simple menu that has File>Exit. The File>Exit doesn't have to work, i just want to be able to see it in my window
Ahh here's your problem...
Control messages are routed through a message called WM_COMMAND
You need a switch case to handle the WM_COMMAND message, which will carry the ID_FILE_EXIT message. So inside your first switch, have a case WM_COMMAND. Inside the WM_COMMAND case, have a switch that handles your different controls, such as ID_FILE_EXIT and ID_FILE_NEW, etc. i.e.:
Code:
case WM_COMMAND:
switch(LOWORD(wParam))
{
case ID_FILE_EXIT:
// Do stuff
break;
// ... other controls
}
break;
case WM_DESTROY:
......
Got it?