CSLIDERCTRL
The member function of the class can query and set the track strip:
Use GetRange and SetRange to query and set the range of rails, the default range is 0-100. The declaration of the function is Void getRange (int Nmin, int Nmax) const; void setRAN, Bool BredRaw = false; parameter nmin and nmax are minimal and maximum values, and the parameter BredRaw will redraw control when TRUE .
Use GETPOS and SETPOS to query and set the current value of the track strip. The declaration of the function is int GETPOS () const; void setpos (INT NPOS);
Use GetLinesize and SetLinesize to query and set the amount of movement of the slider when the left arrow key or the right arrow key is pressed, the default value of the movement is 1 unit. The declaration of the function is int GetLinesize () const; int setLinesize (Int nsize);
Use getpagesize and setpagesize to query and set the block movement amount of the slider, the block movement is the amount of movement of the slider when Press the PGUP or PGDOWN button. The declaration of functions is int getpageSize () const; int setpagesize;
Set the frequency of the scale of the track strip with SetTICFREQ. The default frequency is a scale in each unit. When the range is large, in order to make the scale not too secret, you need to call the function to set a reasonable frequency. The declaration of the function is Void SetTICFREQ (INT NFREQ); the parameter NFREQ illustrates the interval between the two scale.
Use the function settic to set the scale at the specified location. Windows automatically displays the scale is uniform, using this function to set uneven scale, which is declared by Bool SetTIC (INT NTIC);
Use the function clearTICs to clear all the scale. The function of this function is Void Cleartics (Bool BredRaw = FALSE);