The WM_NEXTDLGCTL message is sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box.
WM_NEXTDLGCTL wCtlFocus = wParam; // identifies control for focus fHandle = (BOOL) LOWORD(lParam); // wParam handle flag
An application should return zero if it processes this message.
The effect of this message differs from that of the SetFocus function because WM_NEXTDLGCTL modifies the border around the control.
Do not use the SendMessage function to send a WM_NEXTDLGCTL message if your application will concurrently process other messages that set the focus. Use the PostMessage function instead.
PostMessage, SendMessage, SetFocus
file: /Techref/os/win/api/win32/mess/src/msg26_17.htm, 2KB, , updated: 2000/4/7 12:20, local time: 2024/8/16 14:52,
3.133.139.242: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? <A HREF="http://sxlist.com/TECHREF/os/win/api/win32/mess/src/msg26_17.htm"> WM_NEXTDLGCTL</A> |
Did you find what you needed? |
Welcome to sxlist.com!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 sxlist.com! |
.