C++ Edit Box Text Change

Posted by user1218395 on Stack Overflow See other posts from Stack Overflow or by user1218395
Published on 2012-03-18T17:45:23Z Indexed on 2012/03/18 17:57 UTC
Read the original article Hit count: 130

Filed under:
|

Is their any cases in C++ Like these case WM_COMMAND: switch(LOWORD(wParam))

That happen when you change the text of a edit Box, I need to call a function when i change in edit box and store the value of the edit box into a Integer.

     case EditCD: //ID of your edit
    {
       if (HIWORD(wParam) == EN_CHANGE)
          MessageBox(hwnd, "Text!", "Test!", MB_OK);
       return TRUE;
    }

Doesnt work did i do it wrong?

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows