How do u use WinSetBackColor? anyway try this,
RGBColorType rgb;
rgb.r = 0; rgb.g = 0; rgb.b = 0; /* for black color*/
WinSetBackColor(WinRGBToIndex(&rgb));
// now draw a rectangle of screen size
pandiaraj
================================================================
Access over 330 professionally developed online training courses
and hundreds of free tutorials and jobs. Click below for details
http://www.beginners.co.uk
================================================================
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/