## class XGScrollBar

> Declared in <XScroll.h>
> Declared from XGSlider

> This is the scrollbar encapsulation.

Printer Core

> XGScrollBar::AdjustScale
> XGScrollBar::DoActivate
> XGScrollBar::DoDrawView
> XGScrollBar::DoEnable
> XGScrollBar::DoMouseDown
> XGScrollBar::DoMouseMove
> XGScrollBar::DoMouseUp
> XGScrollBar::DoMoveView
> XGScrollBar::DoShowHide
> XGScrollBar::DoSizeView
> XGScrollBar::GetDefaultSize
> XGScrollBar::GetMaxValue
> XGScrollBar::GetMinValue
> XGScrollBar::GetPageSize
> XGScrollBar::GetStepSize
> XGScrollBar::GetValue
> XGScrollBar::InitScrollBar
> XGScrollBar::LoadControl
> XGScrollBar::SetFocus
> XGScrollBar::SetMaxValue
> XGScrollBar::SetMinValue
> XGScrollBar::SetPageSize
> XGScrollBar::SetStepSize
> XGScrollBar::SetValue
> XGScrollBar::XGScrollBar
> XGScrollBar::~XGScrollBar

Printer Core

XGScrollBar::AdjustScale

> Usage: void XGScrollBar::AdjustScale(void)

> Adjust the scale parameter. This converts the min/max values so that they fit from 0 to 16384.

XGScrollBar::DoActivate

> Usage: void XGScrollBar::DoActivate(bool)

> Activate/deactivate.

XGScrollBar::DoDrawView

> Usage: void XGScrollBar::DoDrawView(Rect)

> Handle the drawing

XGScrollBar::DoEnable

> Usage: void XGScrollBar::DoEnable()

> Handle enable/disable events. Passes the enable/disable event to the control

XGScrollBar::DoMouseDown

> Usage: bool XGScrollBar::DoMouseDown(Point pt,short a)

> Handle the mouse down event. Only used for the Macintosh

XGScrollBar::DoMouseMove

> Usage: void XGScrollBar::DoMouseMove(Point pt,short a)

> handle mouse move events

XGScrollBar::DoMouseUp

> Usage: void XGScrollBar::DoMouseUp(Point pt,short a)

> handle mouse up

XGScrollBar::DoMoveView

> Usage: void XGScrollBar::DoMoveView()

> Move the view.

XGScrollBar::DoShowHide

> Usage: void XGScrollBar::DoShowHide()

> This is called when the control is to be hidden or shown. This only needs to hide the control; the call to DoDrawView() will show the control if needed.

XGScrollBar::DoSizeView

> Usage: void XGScrollBar::DoSizeView()

> Handle resize event

XGScrollBar::GetDefaultSize

> Usage: Point XGScrollBar::GetDefaultSize()

> Get the scrollbar's default size. Used for placement by other routines

XGScrollBar::GetMaxValue

> Usage: long XGScrollBar::GetMaxValue()

> Get the current value

XGScrollBar::GetMinValue

> Usage: long XGScrollBar::GetMinValue()

> Get the current value

XGScrollBar::GetPageSize

> Usage: long XGScrollBar::GetPageSize()

> Get the page size

XGScrollBar::GetStepSize

> Usage: long XGScrollBar::GetStepSize()

> Get the step size

XGScrollBar::GetValue

> Usage: long XGScrollBar::GetValue()

> Get the current value

XGScrollBar::InitScrollBar

> Usage: void XGScrollBar::InitScrollBar(XGSScrollInitRecord&init)

> Initialize the scrollbar

XGScrollBar::LoadControl

> Usage: void XGScrollBar::LoadControl(void)

> Load the control's values. Make sure the control is only updated once

XGScrollBar::SetFocus

> Usage: bool XGScrollBar::SetFocus(void)

> Set the focus. This overrides stuff on Windows by setting the MS Window focus as well.

XGScrollBar::SetMaxValue

> Usage: void XGScrollBar::SetMaxValue(long max)

> Set the maximum value

XGScrollBar::SetMinValue

> Usage: void XGScrollBar::SetMinValue(long min)

> Set the minimum value

XGScrollBar::SetPageSize

> Usage: void XGScrollBar::SetPageSize(long size)

> Set the page size; the amount this thing steps by when paged up or down

XGScrollBar::SetStepSize

> Usage: void XGScrollBar::SetStepSize(long size)

> Set the step size; the amount things step

XGScrollBar::SetValue

> Usage: void XGScrollBar::SetValue(long value)

> Set the value

XGScrollBar::XGScrollBar

> Usage: void XGRadioButton::DrawControl(bool down)

> Construct my scrollbar

XGScrollBar::~XGScrollBar

> Usage: XGScrollBar::~XGScrollBar()

> Delete this