Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 922 Bytes

GetDlgItem.md

File metadata and controls

49 lines (33 loc) · 922 Bytes

Home

Function name : GetDlgItem

Group: Dialog Box - Library: user32


Retrieves a handle to a control in the specified dialog box.


Declaration:

HWND GetDlgItem(
	HWND hDlg,
	int nIDDlgItem
);  

FoxPro declaration:

DECLARE INTEGER GetDlgItem IN user32;
	INTEGER hDlg,;
	INTEGER nIDDlgItem  

Parameters:

hDlg [in] Handle to the dialog box that contains the control.

nIDDlgItem [in] Specifies the identifier of the control to be retrieved.


Return value:

If the function succeeds, the return value is the window handle of the specified control.


Comments:

See also: SetDlgItemText, GetDlgCtrlID.