paint question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a button that i am making that has a rectangle drawn on it with a plus sign drawn in the middle
what i need to do though is to set it so that when that rectganlge is clicked it clears and then redraws it self so that it is the
rectangle with a - sign instead of a plus but it wont let me do this for some reason i have no problem determing when its click that is easy just the redrawing the original draw is done in the paint event of the button

Thanks for the help

WStoreyII
 
* =?Utf-8?B?V1N0b3JleUlJ?= said:
I have a button that i am making that has a rectangle drawn on it with a plus sign drawn in the middle
what i need to do though is to set it so that when that rectganlge is clicked it clears and then redraws it self so that it is the
rectangle with a - sign instead of a plus but it wont let me do this
for some reason i have no problem determing when its click that is easy
just the redrawing the original draw is done in the paint event of the
button .

I doubt that I understood what your problem ist about. Are you able to
find out when the button is clicked, or do you have a problem to draw
the button in the correct state?
 
Back
Top