Pager_SetChild macro (commctrl.h)

Sets the contained window for the pager control. This macro will not change the parent of the contained window; it only assigns a window handle to the pager control for scrolling. In most cases, the contained window will be a child window. If this is the case, the contained window should be a child of the pager control. You can use this macro or send the PGM_SETCHILD message explicitly.

Syntax

void Pager_SetChild(
   HWND hwnd,
   HWND hwndChild
);

Parameters

hwnd

Type: HWND

Handle to the pager control.

hwndChild

Type: HWND

Handle to the window to be contained.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h