Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getdlgitmtext()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetDlgItmText()
Get the text in a control in a dialog box
------------------------------------------------------------------------------

Syntax
GetDlgItmText( <hWndDlg>, <nId> )   -->   cText

Arguments
<hWndDlg> is the handle of the dialog window.

<nId> is the numeric id of the control.

Returns
If successful, this function returns the text in the control.
Otherwise, it returns a null string ("").

Description
This is just another way of sending the WM_GETTEXT message to
a control.  For example, see EDIT.PRG.

Example
cEditText = GetDlgItmText( hWnd, nEditId )


See Also: DialogBox() GetDlgItmInt() SetDlgItem()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson