Last modified on 20 May 2010, at 21:49

Programming for Palm OS/C

generic useful bitsEdit

To sleep for period milliseconds (typically only to 10ms precision):

 SysTaskDelay( SysTicksPerSecond() * period / 1000);


To find the resolution of the screen:

 Coord  screenWidth, screenHeight;
 WinGetDisplayExtent( &screenWidth, &screenHeight);

examplesEdit