CBT_CREATEWND

The CBT_CREATEWND structure contains information passed to a WH_CBT hook procedure, CBTProc, before a window is created.

typedef struct tagCBT_CREATEWND { // cbtcw 
    LPCREATESTRUCT lpcs; 
    HWND           hwndInsertAfter; 
} CBT_CREATEWND; 
 

Members

lpcs
Pointer to a CREATESTRUCT structure that contains initialization parameters for the window about to be created.
hwndInsertAfter
Handle to the window whose position in the Z order precedes that of the window being created.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winuser.h.
  Unicode: Defined as Unicode and ANSI structures.

See Also

Hooks Overview, Hook Structures, CBTProc, CREATESTRUCT, SetWindowsHookEx