June 2001
Intermediate to advanced
706 pages
24h 10m
English
GetDlgItem
Returns a handle to a specified control in a dialog box:
Public Declare Function GetDlgItem Lib "user32" Alias "GetDlgItem" _ (ByVal hDlg As Long, ByVal nIDDlgItem As Long) As Long
hDlg
The handle to the dialog box where the control is located. This can be either the default common dialog box or the child dialog box.
nIDDlgItem
The ID of the control in the resource file.
Returns the handle of the control that you specify. Otherwise, returns a 0.
Read now
Unlock full access