Rajasekhar Reddy P wrote:
Hi all
I am using WinDrawBitmap function to display an bitmap
on specified location. It is working fine on Palm
IIIxe and Palm V (OS are 3.5 and 3.1). But when I try
to run on OS 5 Simulator bitmap is not displaying.
What is Problem? Can any one help me. This is sample code which I used to display bitmap on
screen. But I want to display a bitmap on all the OSs (like 3.1,3.5 and 5)
Perhaps this is your problem? (from Palm OS Reference, WinSetDrawWindow)
"OS versions before 3.5 allowed you to use NULL as a parameter to this function to set the draw window to the display window (or screen window). In version 3.5 and higher, this practice is discouraged. If winHandle is NULL, the debug ROM sets the draw window to badDrawWindowValue, and you are warned if you try to draw to it." Otherwise, you may need to make a bitmap family. Magnus -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
