#define MakeCheckButton(f,x,y,w,h,id,t,a,p,d) SetCheckButtonHandler( SetButtonAttributes( SetButtonGroupID( MakeCaptionedControl(f,RADIO_BUTTON,x,y,w,h,id,t),0),a),p,d)
Parameters |
Description |
f |
frame to create the button 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) |
a |
SliderDirection |
c | |
update_proc |
button click callback function. ButtonPushMethod. |
user_data |
user data to pass to callback when it is invoked. |
PSI_CONTROL that is a button.
An all-in-one macro to create a Slider control, set the callback, and set direction options.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|