Compartilhar via


CMFCRibbonCategory::OnScrollHorz

Scrolls the ribbon category in the horizontal direction.

virtual BOOL OnScrollHorz(
   BOOL bScrollLeft,
   int nScrollOffset = 0
);

Parameters

  • [in] bScrollLeft
    TRUE to scroll to the left; FALSE to scroll to the right.

  • [in] nScrollOffset
    The scroll distance in pixels.

Return Value

TRUE if the ribbon category moved in a horizontal direction; otherwise FALSE.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart