C
#define SldDecPos(pSld) \ SldSetPos \ ( \ pSld, \ (((LONG) ((SLIDER*)pSld)->pos - (LONG) ((SLIDER*)pSld)->page) >= 0) ? \ (((SLIDER*)pSld)->pos - ((SLIDER*)pSld)->page) : 0 \ )
Overview
This macro decrement the slider position by the delta change (page) value set. Object must be redrawn after this function is called to reflect the changes to the object.
Input Parameters
Input Parameters |
Description |
pSld |
Pointer to the object. |
Returns
none
Preconditions
none
Side Effects
none
Example
See SldIncPos() example.