Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hwnd how to get !?

Status
Not open for further replies.

jonybd

Programmer
Nov 3, 2002
166
BE
i wanted to messagebox textbox texts

how to get the Edit Text or , Button (Hwnd )
??


GetWindowText( youredithwnd, buffer, sizeof( buffer ));

MessageBox( NULL, buffer, "hello", MB_OK );
 
Code:
HWND GetDlgItem(          HWND hDlg,
    int nIDDlgItem
);

This is a fundamental windows user interface programming technique that is covered in virtually every beginners windows programming lesson.

If you are not using a book or tutorial of some sort to learn windows programming your progress will be extremely slow.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top