typedef struct tagCBTACTIVATESTRUCT { /* cas */
BOOL fMouse;
HWND hWndActive;
} CBTACTIVATESTRUCT;
The CBTACTIVATESTRUCT contains information passed to a WH_CBT hook function before a window is activated.
fMouse
Specifies whether the window is being activated as a result of a mouse click. A value if TRUE indicates a mouse click is causing the activation; otherwise, this value is FALSE.
hWndActive
Identifies the currently active window.
SetWindowsHook