WM PSETFOCUS
Appearance
This message is posted when the Language Support Window or Dialog Procedure processes a WM_SETFOCUS message.
Syntax
param1 HWND hwnd; /* Focus-window handle. */ param2 USHORT usfocus; /* Focus flag. */
Parameters
- hwnd (HWND) - input
- Focus-window handle.
- NULLHANDLE: No window lost or received the focus.
- Other: Window handle.
- usfocus (USHORT) - input
- Focus flag.
- TRUE: The window received the focus. hwnd is the window handle of the window which lost the focus, or NULLHANDLE if no window previously had the focus.
- FALSE: The window lost the focus. hwnd is the window handle of the window which received the focus, or NULLHANDLE if no window received the focus.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
Remarks
The focus change has already occurred when the application receives this message.
Default Processing
The default window procedure takes no action on this message, other than to set ulReserved to 0.