For example: By default, my Background=Black and my Foreground=White.
When a user clicks the button I'd like Background=white and
Foreground=black, however the entire thing just seems to paint black.
In the meantime I'll keep looking into this or give up and just do a
simple outline
I did a quick test in some code I'm preparing for A2. Didn't run into
any problems.
Did you set it back again after you did the drawing in reverse video?
Perhaps your black is being overpainted later on.
Byron
--
---------------------------------------------------------
Byron Weber Becker Voice: 519-888-4567 x34661
School of Computer Science Fax: 519-885-1208
University of Waterloo Office: DC3105
Waterloo, ON N2L 3G1
Are you erasing a component before you redraw it? If not, things might
get confusing with what was painted before you inverted the colors.
Thanks for the suggestions!
On Fri, 22 May 2009, Byron Weber Becker wrote: