please dont rip this site Prev Next

WM_GETDLGCODE Overview  Group

The WM_GETDLGCODE message is sent to the window procedure associated with a control. By default, the system handles all keyboard input to the control; the system interprets certain types of keyboard input as dialog box navigation keys. To override this default behavior, the control can respond to the WM_GETDLGCODE message to indicate the types of input it wants to process itself.

WM_GETDLGCODE 

 

Parameters

This message has no parameters.

Return Values

The return value is one or more of the following values, indicating which type of input the application processes.

Value

Meaning

DLGC_BUTTON

Button.

DLGC_DEFPUSHBUTTON

Default push button.

DLGC_HASSETSEL

EM_SETSEL messages.

DLGC_RADIOBUTTON

Radio button.

DLGC_STATIC

Static control.

DLGC_UNDEFPUSHBUTTON

Nondefault push button.

DLGC_WANTALLKEYS

All keyboard input.

DLGC_WANTARROWS

Direction keys.

DLGC_WANTCHARS

WM_CHAR messages.

DLGC_WANTMESSAGE

All keyboard input (the application passes this message on to a control).

DLGC_WANTTAB

TAB key.

Default Action

The DefWindowProc function returns zero.

Remarks

Although the DefWindowProc function always returns zero in response to the WM_GETDLGCODE message, the window procedure for the predefined control classes return a code appropriate for each class.

The WM_GETDLGCODE message and the returned values are useful only with user-defined dialog box controls or standard controls modified by subclassing.

See Also

DefWindowProc, EM_SETSEL, WM_CHAR 


file: /Techref/os/win/api/win32/mess/src/msg24_3.htm, 3KB, , updated: 2000/4/7 12:20, local time: 2024/3/28 11:52,
TOP NEW HELP FIND: 
3.80.211.101:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.sxlist.com/techref/os/win/api/win32/mess/src/msg24_3.htm"> WM_GETDLGCODE</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to www.sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .