I have this almost..

This is a discussion on I have this almost.. within the Windows Programming forums, part of the Platform Specific Boards category; I know how to put a string in a MessageBox. How would I get a user-typed string from an edit ...

  1. #1
    BubbleMan
    Guest

    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
    Posts
    5,789
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21