Hi, I am very new to windows programming, am using straight up win32 API, and have a quick question.
I have a dialog box that contains an edit box with the id being ID_EDIT. So when someone enters something into the edit box, it sends a WM_COMMAND message to my dialog box's procedure function. What I don't know how to do is, after the program recognizes that the window that sent the command was my edit box, how do I place what the user entered into a string?
Code:case WM_COMMAND: switch (LOWORD(wParam)) // can't remember off the top of my head if its in the LOWORD or HIWORD or even if its the lParam :) { case ID_EDIT: // need to put what the user entered into a string here }