CBTACTIVATESTRUCT structure (Windows)

Switch View :
ScriptFree
CBTACTIVATESTRUCT structure

Applies to: desktop apps only

Contains information passed to a WH_CBT hook procedure, CBTProc, before a window is activated.

Syntax

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

Members

fMouse

Type: BOOL

This member is TRUE if a mouse click is causing the activation or FALSE if it is not.

hWndActive

Type: HWND

A handle to the active window.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Reference
CBTProc
SetWindowsHookEx
Conceptual
Hooks

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012