 |
GetDlgItem ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves a handle to a control in the specified dialog box. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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. |
 |
 |
| Usage: |
 |
#DEFINE DLG_CTRLID_ICON 0x0014
hIconWindow = GetDlgItem(hDlgHWnd, DLG_CTRLID_ICON)
|
 |
 |
| My comment: |
 |
See also: SetDlgItemText, GetDlgCtrlID
|
 |
 |
| Word Index links for the GetDlgItem : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2009-10-13 10:52:28 | | Modified: | 2009-10-13 10:57:11 | Visited in last 7 days: 14 |