zUpDown Class Reference

DERIVED CLASS FOR UPDOWN CONTROLS. More...

#include <Zclass.h>

Inheritance diagram for zUpDown:
zWindow

List of all members.

Public Member Functions

void Buddy (HWND hwndBuddy)
int Position (void)
void Position (int lPosition)
void RadixBase (int nBase)

Public Attributes

RANGEINFO range

Detailed Description

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.


Member Function Documentation

void zUpDown::Buddy ( HWND  hwndBuddy  )  [inline]

Assigns a window as the buddy window.

Parameters:
hwndBuddy - Handle to the window that will be set as the control's buddy.
void zUpDown::Position ( int  lPosition  )  [inline]

Sets the current position.

Parameters:
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.

Parameters:
nBase - New base value for the control. This parameter can be 10 for decimal or 16 for hexadecimal.

Member Data Documentation

RANGEINFO zUpDown::range

Contains range information.


The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:17 2009 for Rad.on++ by  doxygen 1.6.1