Platform SDK: Interprocess Communications

CBTACTIVATESTRUCT

The CBTACTIVATESTRUCT structure contains information passed to a WH_CBT hook procedure, CBTProc, before a window is activated.

typedef struct tagCBTACTIVATESTRUCT { 
    BOOL fMouse; 
    HWND hWndActive; 
} CBTACTIVATESTRUCT, *LPCBTACTIVATESTRUCT; 

Members

fMouse
Specifies whether the window is being activated as a result of a mouse click. This value is TRUE if a mouse click is causing the activation or FALSE if it is not.
hWndActive
Handle to the active window.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.

See Also

Hooks Overview, Hook Structures, CBTProc, SetWindowsHookEx