msgs12.hlp (Topic list)
WM_QUERYDLGCODE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
WM_QUERYDLGCODE
 
The WM_QUERYDLGCODE message is sent to a control window in a dialog box to
determine the capabilities of the control.
 
This message does not use any parameters.
 
Return Value
 
An application should return one or more of the following values combined
into a single result by using the OR operator:
 
Value             Meaning
────────────────────────────────────────────────────────────────────────────
DLGC_BUTTON       Button item; processes the BM_CLICK message.
 
DLGC_CHECKBOX     Check-box button control.
 
DLGC_DEFAULT      Default push button.
 
DLGC_ENTRYFIELD   Entry-field item; processes the EM_SETSEL message.
 
DLGC_MENU         Menu.
 
DLGC_PUSHBUTTON   Normal (non-default) push button.
 
DLGC_RADIOBUTTON  Radio button.
 
DLGC_SCROLLBAR    Scroll bar.
 
DLGC_STATIC       Static item.
 
DLGC_TABONCLICK   The window should not get the focus. Instead, the focus
                  should be passed on to the next-on-tab control.
 
See Also
 
BM_CLICK, EM_SETSEL