DM_GETDEFID message
Retrieves the identifier of the default push button control for a dialog box.
#define WM_USER 0x0400 #define DM_GETDEFID (WM_USER+0)
Parameters
- wParam
-
This parameter is not used and must be zero.
- lParam
-
This parameter is not used and must be zero.
Return value
If a default push button exists, the high-order word of the return value contains the value DC_HASDEFID and the low-order word contains the control identifier. Otherwise, the return value is zero.
Remarks
The DefDlgProc function processes this message.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- DefDlgProc
- DM_SETDEFID
- Conceptual
- Dialog Boxes
Community Additions
ADD
Show: