Skip to content

Latest commit

 

History

History
57 lines (29 loc) · 1.41 KB

PyCSpinButtonCtrl.md

File metadata and controls

57 lines (29 loc) · 1.41 KB

PyCSpinButtonCtrl

PyCSpinButtonCtrl Object

A windows spin button control. Encapsulates an MFC CSpinButtonCtrl object.

Methods

  • GetPos

    Obtains the current position for a spin button control. 

  • SetPos

    Sets the current position for a spin button control. 

  • SetRange

    Sets the upper and lower limits (range) for a spin button control. 

  • SetRange32

    Sets the upper and lower limits (range) for a spin button control. 

int = GetPos() Obtains the current position for a spin button control.

int = SetPos(pos) Sets the current position for a spin button control.

Parameters

  • pos : int

    The new position.

Return Value

The result is the previous position.

int = SetRange() Sets the upper and lower limits (range) for a spin button control.

int = SetRange32() Sets the 32 bit upper and lower limits (range) for a spin button control.