Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::PSI::button::MakeImageButton Macro
C++
#define MakeImageButton(f,x,y,w,h,id,c,a,p,d) SetButtonPushMethod( SetButtonAttributes( SetButtonImage( MakeControl(f,IMAGE_BUTTON,x,y,w,h,id),c),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 
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!