Inherits Microsoft::Samples::DirectX::UtilityToolkit::Control, Microsoft::Samples::DirectX::UtilityToolkit::Control, and Microsoft::Samples::DirectX::UtilityToolkit::Control.

Public Member Functions | |
| ScrollBar (Dialog parent) | |
| Creates a new instance of the scroll bar class. | |
| void | Scroll (int delta) |
| Scrolls by delta items. A positive value scrolls down, while a negative scrolls down. | |
| void | ShowItem (int index) |
| Shows an item. | |
| void | SetTrackRange (int startRange, int endRange) |
| Sets the track range. | |
| override void | Render (Device device, float elapsedTime) |
| Render the scroll bar control. | |
| override bool | HandleMouse (NativeMethods.WindowMessage msg, System.Drawing.Point pt, IntPtr wParam, IntPtr lParam) |
| Stores data for a combo box item. | |
| ScrollBar (Dialog parent) | |
| Creates a new instance of the scroll bar class. | |
| void | Scroll (int delta) |
| Scrolls by delta items. A positive value scrolls down, while a negative scrolls down. | |
| void | ShowItem (int index) |
| Shows an item. | |
| void | SetTrackRange (int startRange, int endRange) |
| Sets the track range. | |
| override void | Render (Device device, float elapsedTime) |
| Render the scroll bar control. | |
| override bool | HandleMouse (NativeMethods.WindowMessage msg, System.Drawing.Point pt, IntPtr wParam, IntPtr lParam) |
| Stores data for a combo box item. | |
| ScrollBar (Dialog parent) | |
| Creates a new instance of the scroll bar class. | |
| void | Scroll (int delta) |
| Scrolls by delta items. A positive value scrolls down, while a negative scrolls down. | |
| void | ShowItem (int index) |
| Shows an item. | |
| void | SetTrackRange (int startRange, int endRange) |
| Sets the track range. | |
| override void | Render (Device device, float elapsedTime) |
| Render the scroll bar control. | |
| override bool | HandleMouse (NativeMethods.WindowMessage msg, System.Drawing.Point pt, IntPtr wParam, IntPtr lParam) |
| Stores data for a combo box item. | |
Public Attributes | |
| const int | TrackLayer = 0 |
| const int | UpButtonLayer = 1 |
| const int | DownButtonLayer = 2 |
| const int | ThumbLayer = 3 |
Protected Member Functions | |
| override void | UpdateRectangles () |
| Update all of the rectangles. | |
| void | Cap () |
| Clips position at boundaries. | |
| void | UpdateThumbRectangle () |
| Compute the dimension of the scroll thumb. | |
| override void | UpdateRectangles () |
| Update all of the rectangles. | |
| void | Cap () |
| Clips position at boundaries. | |
| void | UpdateThumbRectangle () |
| Compute the dimension of the scroll thumb. | |
| override void | UpdateRectangles () |
| Update all of the rectangles. | |
| void | Cap () |
| Clips position at boundaries. | |
| void | UpdateThumbRectangle () |
| Compute the dimension of the scroll thumb. | |
Protected Attributes | |
| const int | MinimumThumbSize = 8 |
| bool | showingThumb |
| System.Drawing.Rectangle | upButtonRect |
| System.Drawing.Rectangle | downButtonRect |
| System.Drawing.Rectangle | trackRect |
| System.Drawing.Rectangle | thumbRect |
| int | position |
| int | pageSize |
| int | start |
| int | end |
Properties | |
| int | TrackPosition [get, set] |
| Position of the track. | |
| int | PageSize [get, set] |
| Size of a 'page'. | |
Definition at line 2540 of file dxmutgui.cs.
| Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.ScrollBar | ( | Dialog | parent | ) |
| Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.ScrollBar | ( | Dialog | parent | ) |
| Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.ScrollBar | ( | Dialog | parent | ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Cap | ( | ) | [protected] |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Cap | ( | ) | [protected] |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Cap | ( | ) | [protected] |
| override bool Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.HandleMouse | ( | NativeMethods.WindowMessage | msg, | |
| System.Drawing.Point | pt, | |||
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Stores data for a combo box item.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2737 of file wdxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.HandleMouse | ( | NativeMethods.WindowMessage | msg, | |
| System.Drawing.Point | pt, | |||
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Stores data for a combo box item.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2732 of file dxmutgui.cs.
| override bool Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.HandleMouse | ( | NativeMethods.WindowMessage | msg, | |
| System.Drawing.Point | pt, | |||
| IntPtr | wParam, | |||
| IntPtr | lParam | |||
| ) | [virtual] |
Stores data for a combo box item.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2732 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Render | ( | Device | device, | |
| float | elapsedTime | |||
| ) | [virtual] |
Render the scroll bar control.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2699 of file wdxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Render | ( | Device | device, | |
| float | elapsedTime | |||
| ) | [virtual] |
Render the scroll bar control.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2694 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Render | ( | Device | device, | |
| float | elapsedTime | |||
| ) | [virtual] |
Render the scroll bar control.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2694 of file dxmutgui.cs.

| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Scroll | ( | int | delta | ) |
Scrolls by delta items. A positive value scrolls down, while a negative scrolls down.
Definition at line 2660 of file wdxmutgui.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Scroll | ( | int | delta | ) |
Scrolls by delta items. A positive value scrolls down, while a negative scrolls down.
Definition at line 2655 of file dxmutgui.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.Scroll | ( | int | delta | ) |
Scrolls by delta items. A positive value scrolls down, while a negative scrolls down.
Definition at line 2655 of file dxmutgui.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.SetTrackRange | ( | int | startRange, | |
| int | endRange | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.SetTrackRange | ( | int | startRange, | |
| int | endRange | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.SetTrackRange | ( | int | startRange, | |
| int | endRange | |||
| ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.ShowItem | ( | int | index | ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.ShowItem | ( | int | index | ) |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.ShowItem | ( | int | index | ) |
| override void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.UpdateRectangles | ( | ) | [protected, virtual] |
Update all of the rectangles.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2591 of file wdxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.UpdateRectangles | ( | ) | [protected, virtual] |
Update all of the rectangles.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2586 of file dxmutgui.cs.
| override void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.UpdateRectangles | ( | ) | [protected, virtual] |
Update all of the rectangles.
Reimplemented from Microsoft.Samples.DirectX.UtilityToolkit.Control.
Definition at line 2586 of file dxmutgui.cs.
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.UpdateThumbRectangle | ( | ) | [protected] |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.UpdateThumbRectangle | ( | ) | [protected] |
| void Microsoft.Samples.DirectX.UtilityToolkit.ScrollBar.UpdateThumbRectangle | ( | ) | [protected] |
Definition at line 2544 of file dxmutgui.cs.
System Drawing Rectangle Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::downButtonRect [protected] |
Definition at line 2550 of file dxmutgui.cs.
int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::end [protected] |
Definition at line 2556 of file dxmutgui.cs.
const int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::MinimumThumbSize = 8 [protected] |
Definition at line 2546 of file dxmutgui.cs.
int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::pageSize [protected] |
Definition at line 2554 of file dxmutgui.cs.
int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::position [protected] |
Definition at line 2553 of file dxmutgui.cs.
bool Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::showingThumb [protected] |
Definition at line 2548 of file dxmutgui.cs.
int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::start [protected] |
Definition at line 2555 of file dxmutgui.cs.
Definition at line 2545 of file dxmutgui.cs.
System Drawing Rectangle Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::thumbRect [protected] |
Definition at line 2552 of file dxmutgui.cs.
Definition at line 2542 of file dxmutgui.cs.
System Drawing Rectangle Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::trackRect [protected] |
Definition at line 2551 of file dxmutgui.cs.
Definition at line 2543 of file dxmutgui.cs.
System Drawing Rectangle Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::upButtonRect [protected] |
Definition at line 2549 of file dxmutgui.cs.
int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::PageSize [get, set] |
int Microsoft::Samples::DirectX::UtilityToolkit.ScrollBar::TrackPosition [get, set] |
1.5.8