CScrollBar::Create

Call this member function to create and initializes a Windows scroll bar and attach it to the CScrollBar object

You construct a CScrollBar object in two steps. First call the constructor, which constructs the CScrollBar object; then call Create.

Syntax

BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE does not support the SBS_SIZEGRIP style. For more information on scrollbar styles, see Scroll Bar Styles.

See Also

CScrollBar Overview, CScrollBar Member Functions, Control Classes, CScrollBar::CScrollBar