I am trying to detect when my editbox has gained focus. Im not sure about the switch statement. Also what is a HIWORD and LOWORD? ThanksCode:case WM_COMMAND: switch(wParam) { case EN_SETFOCUS: MessageBox(NULL,"Edit box has focus", "Focus",MB_OK); }





Reply With Quote