GET_FOREGROUND_INFO (Windows CE 5.0)

Send Feedback

This structure contains information about the current foreground thread. It is used by the GetForegroundInfo function.

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.

Remarks

This structure is only available to OEMs.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Pwinuser.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.