Page 1 of 1

In an atemp to create a GUI

Posted: Tue May 27, 2003 9:29 am
by darklordz
Image

Im wanna create a GUI, my own GUI (preview above.) Now in the real VB i'd use ImageBoxes and loadimages to create the effect of buttons. How do i accomplish this in PB, I found these #WM_LBUTTONDOWN
#WM_LBUTTONUP but they don't help. So I turn to you the forum to help me create a new gadget, a gadget that uses 3 images and makes a button. (ex: ImageButton(ThisGadgetHandle,ImgUp_Handle,ImgOver_Handle,ImgDown_Handle,X,Y,W,H)) In fact this will be a regular Flat ImageBox but the effect will leave a button ish effect.... So help anyone?

Re: In an atemp to create a GUI

Posted: Tue May 27, 2003 12:34 pm
by PB
Why not just use PureBasic's ButtonImageGadget?

Posted: Tue May 27, 2003 1:01 pm
by darklordz
The Button Image Gadget leaves an Ugly Border/Bevel that makes it a look like a real button instead of a button that looks like my gui....