DERIVED CLASS FOR UPDOWN CONTROLS. More...
#include <Zclass.h>
Public Member Functions | |
| void | Buddy (HWND hwndBuddy) |
| int | Position (void) |
| void | Position (int lPosition) |
| void | RadixBase (int nBase) |
Public Attributes | |
| RANGEINFO | range |
DERIVED CLASS FOR UPDOWN CONTROLS.
% Provides the functionality of the Windows common updown control. An up-down control is a pair of arrow buttons that the user can click to increment or decrement a value, such as a scroll position or a number displayed in a companion control. The value associated with an up-down control is called its current position. An up-down control is most often used with a companion control, which is called a buddy window.
| void zUpDown::Buddy | ( | HWND | hwndBuddy | ) | [inline] |
Assigns a window as the buddy window.
| hwndBuddy | - Handle to the window that will be set as the control's buddy. |
| void zUpDown::Position | ( | int | lPosition | ) | [inline] |
Sets the current position.
| lPosition | - New position for the up-down control. If the parameter is outside the control's specified range, it will be set to the nearest valid value. |
| int zUpDown::Position | ( | void | ) | [inline] |
Retrieves the current position.
| void zUpDown::RadixBase | ( | int | nBase | ) | [inline] |
Sets the radix base. The base value determines whether the buddy window displays numbers in decimal or hexadecimal digits. Hexadecimal numbers are always unsigned, and decimal numbers are signed.
| nBase | - New base value for the control. This parameter can be 10 for decimal or 16 for hexadecimal. |
| RANGEINFO zUpDown::range |
Contains range information.
1.6.1