Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Scrolls the ribbon category in the horizontal direction.

virtual BOOL OnScrollHorz(
   BOOL bScrollLeft,
   int nScrollOffset = 0

[in] bScrollLeft

TRUE to scroll to the left; FALSE to scroll to the right.

[in] nScrollOffset

The scroll distance in pixels.

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

Header: afxribboncategory.h

© 2015 Microsoft