GET_FOREGROUND_INFO (Compact 2013)
3/28/2014
This structure contains information about the current foreground thread. It is used by the GetForegroundInfo function.
Syntax
typedef struct tagGetForegroundInfo {
HWND hwndActive;
HWND hwndFocus;
HWND hwndMenu;
HWND hwndKeyboardDest;
DWORD fdwConversion;
DWORD fdwSentence;
BOOL fOpen;
DWORD dwCompStrLen;
HKL KeyboardLayoutHandle;
} GET_FOREGROUND_INFO;
Members
- hwndActive
Handle to the current active window of the foreground thread.
- hwndFocus
Handle to the current focus window of the foreground thread. This value may be NULL if there is no current focus window.
- hwndMenu
Handle to the current menu window. This value may be NULL if there is no current menu window.
- hwndKeyboardDest
Handle to the window that is the current destination for keystrokes.
- fdwConversion
Current conversion mode of the IME for the foreground thread.
- fdwSentence
Current sentence mode of the IME for the foreground thread.
- fOpen
Open state of the IME for the foreground thread.
- dwCompStrLen
Length of the IME composition string for the foreground thread.
- KeyboardLayoutHandle
Handle to the current keyboard layout for the foreground thread.
Requirements
Header |
pwinuser.h |