Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a pager control with specified extended styles and attaches it to the current CPagerCtrl object.
virtual BOOL CreateEx(
DWORD dwExStyle,
DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd,
UINT nID
);
Parameters
Parameter |
Description |
|---|---|
[in] dwExStyle |
A bitwise combination of extended styles to be applied to the control. For more information, see the dwExStyle parameter of the CreateWindowEx function. |
[in] dwStyle |
A bitwise combination (OR) of window styles and pager control styles to be applied to the control. |
[in] rect |
A reference to a RECT structure that contains the position and size of the control in client coordinates. |
[in] pParentWnd |
A pointer to a CWnd object that is the parent window of the control. This parameter cannot be NULL. |
[in] nID |
The ID of the control. |
Return Value
true if this method is successful; otherwise, false.
Requirements
Header: afxcmn.h
Remarks
To create a pager control, declare a CPagerCtrl variable, then call the CPagerCtrl::Create or CPagerCtrl::CreateEx method on that variable.