Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::PSI::button::MakeCheckButton Macro
C++
#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 
frame to create the button in 
left coordinate of the control 
top coordinate of the control 
how wide the control is 
how tall to make the control 
nID 
ID of the control (any numeric ID you want to call it) 
SliderDirection 
caption - text for the button
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.

Created with a commercial version of 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!