I have a form with no UI elements on it, and I draw bitmaps in a 4 x 3
arrangement directly on the form. In an attempt to get a "select" effect
when a penDown event happens on one of these bitmaps, I used the code from
the DrawInversionEffect function in the OS 3.5 limited source code that is
available. This code has no effect in my situation. In it, there is a
WinPaintRectangle call - I added the four calls below in an attempt to find
out what's going on:
WinDrawRectangle(rP, cornerDiam);
WinFillRectangle(rP, cornerDiam);
WinEraseRectangle(rP, cornerDiam);
WinDrawChars("Hello!", 6, rP->topLeft.x, rP->topLeft.y);
Only the WinDrawChars call works - the others have no effect.
What, in theory, could make the WinXXXRectangle calls have no visible
effect, but leave WinDrawChars unaffected?
Thanks,
Mark Peters
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/