I red this post and I have a problem. I have made menu but it doesnt seem to work. In menu there is comand Exit whose ID is
ID_FILE_EXIT. Now I have situation like that I have window, menu in it, in menu there is exit with its ID. But how can I make it send message to message loop that I have pressed Exit. Ok this is so... Can somebody see my code and look is it right?
switch(msg) // This is my message loop
case ID_FILE_EXIT: // And this is when should work exit from file menue
return DefWindowProc(hwnd, msg, wParam, lParam);