Thread: I have this almost..

  1. #1

    Question I have this almost..

    I know how to put a string in a MessageBox. How would I get a user-typed string from an edit box?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    UINT GetDlgItemText(
    HWND hDlg, // handle of dialog box
    int nIDDlgItem, // identifier of control
    LPTSTR lpString, // address of buffer for text
    int nMaxCount // maximum size of string

Popular pages Recent additions subscribe to a feed