Programming for Palm OS/C
< Programming for Palm OSgeneric useful bits
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);
examples
- Hello World
- Fields
- Menus
- Fonts
- Serial communications
- Using custom events
- Off-screen windows
- Databases
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.