CBT_CREATEWNDA structure

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

Syntax

typedef struct tagCBT_CREATEWNDA {
  struct tagCREATESTRUCTA *lpcs;
  HWND                    hwndInsertAfter;
} CBT_CREATEWNDA, *LPCBT_CREATEWNDA;

Members

lpcs

Type: LPCREATESTRUCT

A pointer to a CREATESTRUCT structure that contains initialization parameters for the window about to be created.

hwndInsertAfter

Type: HWND

A handle to the window whose position in the Z order precedes that of the window being created. This member can also be NULL.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header winuser.h (include Windows.h)

See Also

CBTProc

CREATESTRUCT

Conceptual

Hooks

Reference

SetWindowsHookEx