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>getdlgitmint()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetDlgItmInt()
Get the numeric value of the text in a control in a dialog box
------------------------------------------------------------------------------

Syntax
GetDlgItmInt( <hWndDlg>, <nId>, [ <lSigned> ] )   -->   nValue  or  NIL

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

<nId> is the numeric id of the control.

<lSigned> is an optional logical value specifying whether the
text should be interpreted as a signed value or not.  The
default is FALSE (.F.).

Returns
If successful, this function returns the numeric value of the
text in the control.  Otherwise, it returns NIL.

Description
If possible, the text in the control is converted to a numeric
value and returned.

Example
nCount = GetDlgItmInt( hWnd, nChildId )


See Also: DialogBox() GetDlgItmText() SetDlgItem()

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