msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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