Name

CBTACTIVATESTRUCT

Synopsis

Contains information used by the WH_CBT hook when a window is activated:

Public Type CBTACTIVATESTRUCT
	fMouse As Long
	hWndActive As Long
End Type

Structure Members

fMouse

True if the window was activated by a mouse click; otherwise False, indicating that the window was activated by some other means, such as an ALT-TAB key combination.

hWndActive

The hWnd of the active window.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.