Whenever I have an object on the window, for instance an EDIT, BUTTON, whatever, I try to use:
It just doesn't seem to work. Anyone know why? I suppose it's because the focus is not onto the main window, rather to the EDIT OR WHATEVER.Code:switch(msg){ case WM_KEYDOWN: MessageBox(hwnd,"Hey sob","",0); break; }





Reply With Quote