#define MakeSlider(pf,x,y,w,h,nID,opt,updateproc,updateval) SetSliderOptions( SetSliderUpdateHandler( MakeControl(pf,SLIDER_CONTROL,x,y,w,h,nID ), updateproc,updateval ), opt)
|
Parameters |
Description |
|
pf |
frame to create the slider in |
|
x |
left coordinate of the control |
|
y |
top coordinate of the control |
|
w |
how wide the control is |
|
h |
how tall to make the control |
|
nID |
ID of the control (any numeric ID you want to call it) |
|
opt | |
|
update_proc |
callback to which gets called when the slider's current value changes. |
|
user_data |
user data to pass to callback when it is invoked. |
An all-in-one macro to create a Slider control, set the callback, and set direction options.
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.|
Copyright (c) 2000+. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|