CBTACTIVATESTRUCT

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

typedef struct tagCBTACTIVATESTRUCT { // cas 
    BOOL fMouse; 
    HWND hWndActive; 
} CBTACTIVATESTRUCT; 
 

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.

See Also

Hooks Overview, Hook Structures, CBTProc, SetWindowsHookEx