Hello,
I have a question, and that is how to create a round button in masm from a bitmap, does it has to be with a region ?
Like (http://vhreve.nl/button.bmp) so that only the round button is clickable and not the purple part arround it, or like a triangle button.
I know it works with XXControls, but does someone know how i can get this working without it ?
Thnx! ::)
Welcome!
You create a round button in masm exactly as you creat it in any other language. :)
As far as I know, you can
- use regions
- create your own control and
- use trigonometric math to see if a point is inside or outside the circle.
- define a rectangle that approximate the circle
Nick
Apocalyps,
The attached example shows you how to create buttons that are of all different shapes, sizes and colors. It is exactly what you need, I think.
Paul
[attachment deleted by admin]