Description


Include file: xspinbtn.h

Functions

XSpinButton

Parameters

XWindow * owner the owner of the XSlider
XRect * rect the rectangle
USHORT id id of the window
ULONG style style, valid values are:
SP_LEFT
SP_RIGHT
SP_CENTER
SP_NOBORDER
SP_FAST
SP_MASTER
SP_SERVANT
SP_READONLY
SP_NUMERIC
SP_CHAR
SP_FILLZERO

(can be or-ed)
char * font font to use, e.g. "8.Helv"

Remarks

Constructs a XSpinButton

SetLimits

Parameters

LONG lowerLimit the lower limit
LONG upperLimit the upper limit

Remarks

Set limits of the spinbutton

SetMaster

Parameters

XWindow* master

Return-Value

BOOL result

Remarks

SetTextLimit

Parameters

SHORT limit maximum length

Remarks

Set maximum textlength

SpinDown

Parameters

LONG units units to spin down

Remarks

Spin down window-content

SpinUp

Parameters

LONG units units to spin up

Remarks

Spin up window-content

GetValue

Remarks

Returns the current value of the spinbutton

SetValue

Parameters

LONG value the new value

Remarks

Set the value of the spinbutton


This document was generated by Jens von Pilgrim's Autodoc