The WM_KILLFOCUS message is sent to a window immediately before it loses the keyboard focus.
WM_KILLFOCUS hwndGetFocus = (HWND) wParam; // handle of window receiving focus
An application should return zero if it processes this message.
If an application is displaying a caret, the caret should be destroyed at this point.
file: /Techref/os/win/api/win32/mess/src/msg25_4.htm, 1KB, , updated: 2000/4/7 12:20, local time: 2025/3/16 00:50,
3.12.161.230:LOG IN
|
©2025 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/msg25_4.htm"> WM_KILLFOCUS</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.