Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXScrollBar.h>
Inheritance diagram for FX::FXScrollBar:
The range is the total size of the document, the page is the part of the document which is visible. The size of the scrollbar thumb is adjusted to give feedback of the relative sizes of each. The scroll bar may be manipulated by the left mouse button (normal scrolling), by the middle mouse button (same as the left mouse only the scroll position can jump to the place where the click is made), or by the right mouse button (vernier- or fine-scrolling). Holding down the control key while scrolling with the left or middle mouse button also enables vernier-scrolling mode. The vernier-scrolling mode is very useful for accurate positioning in large documents. Finally, if the mouse sports a wheel, the scroll bar can be manipulated by means of the mouse wheel as well. Holding down the Control-key during wheel motion will cause the scrolling to go faster than normal. While moving the scroll bar, a message of type SEL_CHANGED will be sent to the target, and the message data will reflect the current position of type FXint. At the end of the interaction, the scroll bar will send a message of type SEL_COMMAND to notify the target of the final position.
See also:
|
|
|
Construct scroll bar.
|
|
Destructor.
|
|
Return default width.
Reimplemented from FX::FXWindow. |
|
Return default height.
Reimplemented from FX::FXWindow. |
|
Perform layout.
Reimplemented from FX::FXWindow. |
|
Set content size range.
|
|
Return content size range.
|
|
Set viewport page size.
|
|
Return page size.
|
|
Set scoll increment for line.
|
|
Return line increment.
|
|
Change scroll position.
|
|
Return current scroll position.
|
|
Change highlight color.
|
|
Return highlight color.
|
|
Change the shadow color.
|
|
Return the shadow color.
|
|
Change the border color.
|
|
Return the border color.
|
|
Change the arrow color.
|
|
Return the arrow color.
|
|
Change the scrollbar style.
|
|
Return the scrollbar style.
|
|
Change the bar size.
|
|
Return the bar size.
|
|
Save to stream.
Reimplemented from FX::FXWindow. |
|
Load from stream.
Reimplemented from FX::FXWindow. |
Copyright © 1997-2005 Jeroen van der Zijp |