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 11:20, local time: 2024/12/1 02:11,
18.191.195.105: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://techref.massmind.org/techref/os/win/api/win32/mess/src/msg26_17.htm"> WM_NEXTDLGCTL</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.