共用方式為


CScrollBar::GetScrollBarInfo

Retrieves the information that the SCROLLBARINFO structure maintains about a scroll bar.

BOOL GetScrollBarInfo( 
   PSCROLLBARINFO pScrollInfo  
) const;

Parameters

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

This member function emulates the functionality of the SBM_SCROLLBARINFO message, as described in the Windows SDK.

Requirements

Header: afxwin.h

See Also

Concepts

CScrollBar Class

CScrollBar Members

Hierarchy Chart