Share via


CMFCTabCtrl::SynchronizeScrollBar

Draws a horizontal scroll bar on a tab control that displays flat tabs.

BOOL SynchronizeScrollBar(
   SCROLLINFO* pScrollInfo = NULL
);

Parameters

  • [out] pScrollInfo
    Pointer to a SCROLLINFO structure or NULL. When this method returns, and if this parameter is not NULL, the structure contains all the parameters of the scroll bar. The default value is NULL.

Return Value

TRUE if this method succeeds; otherwise, FALSE.

Remarks

This method affects only a tab control that displays flat tabs. The scroll bar influences all the tabs at the same time.

Requirements

Header: afxtabctrl.h

See Also

Reference

CMFCTabCtrl Class

Hierarchy Chart

SCROLLINFO

CMFCTabCtrl::ModifyTabStyle