In an atemp to create a GUI

Just starting out? Need help? Post your questions and find answers here.
darklordz
Enthusiast
Enthusiast
Posts: 119
Joined: Wed May 21, 2003 1:44 pm
Location: Netherlands
Contact:

In an atemp to create a GUI

Post 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?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: In an atemp to create a GUI

Post by PB »

Why not just use PureBasic's ButtonImageGadget?
darklordz
Enthusiast
Enthusiast
Posts: 119
Joined: Wed May 21, 2003 1:44 pm
Location: Netherlands
Contact:

Post 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....
Post Reply