<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > Windows API > Win_GetFocus |
Description
Retrieves the handle to the window that has the keyboard focus, if the window is attached to the calling thread's message queue
Syntax
n = Win_GetFocus
Returns
Number.
The return value is the handle to the window with the keyboard focus. If the calling thread's message queue does not have an associated window with the keyboard focus, the return value is NULL.
Parameters
Name |
Type |
Optional |
Meaning |
Remarks
Restrictions
See also
Examples