To make a different "button control"
-
Hi, I'm Javier. I want add to my application a control button. But I don't want the typical rectangular button. I want add a picture resource, and change the button's appearance, for example that it looks an arrow(a bitmap picture), but the control is the same functionally, the only change is the appearance. ¿How can I do this? Tahnk you:-D:-D:-D.
-
Hi, I'm Javier. I want add to my application a control button. But I don't want the typical rectangular button. I want add a picture resource, and change the button's appearance, for example that it looks an arrow(a bitmap picture), but the control is the same functionally, the only change is the appearance. ¿How can I do this? Tahnk you:-D:-D:-D.
Hi Javier. What I did when I encountered this problem was to write my own button class - assign each button a bitmap that you display, assign the button coordinates and width/height or whatnot, and then every time there's a mouse click, just look through your buttons to see if the click was inside the coordinates and parameters. I use this for all of my games nowadays and it works great. 100% customization. But of course then you have to write your own class for it. I don't know of a way to do what you're asking using the default windows API. Kelly Ryan
-
Hi, I'm Javier. I want add to my application a control button. But I don't want the typical rectangular button. I want add a picture resource, and change the button's appearance, for example that it looks an arrow(a bitmap picture), but the control is the same functionally, the only change is the appearance. ¿How can I do this? Tahnk you:-D:-D:-D.
have you looked here for some example of non restangular buttons ?
Maximilien Lincourt Your Head A Splode - Strong Bad
-
have you looked here for some example of non restangular buttons ?
Maximilien Lincourt Your Head A Splode - Strong Bad