Can someone explain how one is supposed to use these functions?
The docs say that WinSetPattern sets the current fill pattern & WinSetPatternType sets the current pattern type but sets the patternData field to NULL and suggests using WinSetPattern to set the patternData field.
This seems to suggest that one should
CustomPatternType myPattern = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
WinSetPatternType (blackPattern);
WinSetPattern(&myPattern );
WinFillRectangle (&rectangleSelectedBox,0);Which works OK... but changing the argument of WinSetPatternType to whitePattern or grayPattern seems to make NO difference.
(I thought that some bitwise ANDing (or something similar) would occur between the custom and "prepackaged/simple" patterns).
So.....What does the heck does WinSetPatternType do? Can someone explain this?
Thanks!
Dan
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
