Bagikan melalui


CPagerCtrl Class

The CPagerCtrl class wraps the Windows pager control, which can scroll into view a contained window that does not fit the containing window.

class CPagerCtrl : public CWnd

Remarks

A pager control is a window that contains another window that is linear and larger than the containing window, and enables you to scroll the contained window into view. The pager control displays two scroll buttons that automatically disappear when the contained window is scrolled to its farthest extent, and reappear otherwise. You can create a pager control that scrolls either horizontally or vertically.

For example, if your application has a toolbar that is not wide enough to show all of its items, you can assign the toolbar to a pager control and users will be able to scroll the toolbar to the left or right to access all of the items. Microsoft Internet Explorer Version 4.0 (commctrl.dll version 4.71) introduces the pager control.

The CPagerCtrl class is derived from the CWnd class. For more information and an illustration of a pager control, see Pager Controls.

Requirements

Header: afxcmn.h

See Also

Reference

CPagerCtrl Class

Hierarchy Chart

Pager Controls

Other Resources

CPagerCtrl Members