anyway i can make a button that look like the style in window xp ???
can teach mi the coding i need ???
Printable View
anyway i can make a button that look like the style in window xp ???
can teach mi the coding i need ???
If you are using XP it will look like that automatically.
Otherwise, you prolly need to take a screenshot of one and load it into a rect or something. I dont know.
yea, it depends on the OS what the button will look like. I have only had W98 and now have XP HE. If you put the button code (ask if you need) it will appear like XP wants it too. If you want some kind of special button off of XP you will have to make a screen shot of your screen(press printscr on your keyboard). Go to MS Paint or photoshop or something and press CTRL + V. Cut out everything except the button. Then load the bitmap/jpg to your game/prrogram and check if it was clicked somehow, in thatdimensions. or maybe a CBITMAPBUTTON that everyone talks about, but i dont know how to use :o.
Hope this helps
yea, it depends on the OS what the button will look like. I have only had W98 and now have XP HE. If you put the button code (ask if you need) it will appear like XP wants it too. If you want some kind of special button off of XP you will have to make a screen shot of your screen(press printscr on your keyboard). Go to MS Paint or photoshop or something and press CTRL + V. Cut out everything except the button. Then load the bitmap/jpg to your game/prrogram and check if it was clicked somehow, in thatdimensions. or maybe a CBITMAPBUTTON that everyone talks about, but i dont know how to use :o.
Hope this helps
Wow, did anyone else hear that echo??
Wow, did anyone else hear that echo??
I didn't hear anything
...anything....
:D
Seriously though, MonkeyMon. Just blit an image of the button
where you would have your button. Then use PtInRect whenever
you get a WM_LBUTTONDOWN message and if your ptMouse is
inside the button rect execute your code.