typedef struct tagCBTACTIVATESTRUCT { /* cas */
BOOL fMouse;
HWND hWndActive;
} CBTACTIVATESTRUCT;
The CBTACTIVATESTRUCT structure 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. This value is nonzero if a mouse click is causing the activation. Otherwise, this value is zero.
hWndActive
Identifies the currently active window.