NOTE: For more information see the following manuals:
The Palm OS Tutorial provides more detailed instruction on how to create a GUI using the Constructor tool.
The Constructor for Palm OS manual in the CodeWarrior Documentation folder provides detailed reference-style documentation as well as information on how to use each individual resource.
'code'
#1 resource for every application. This resource is the entry point for the application and is where application initialization is performed. When the Palm OS device launches an application, it starts executing at the first byte of the `code' #1 resource. All of the application code that you provide is included in this resource as well.
'code'
#0 and 'data'
#0 resources contain the required size of your global data and an image of the initialized area of that global data. When your application is launched, the system allocates a memory chunk in the dynamic heap that's big enough to hold all your globals. The 'data'
#0 resource is then used to initialize those globals.
'pref'
#0 resource for every application. This resource contains startup information for launching your application. The resource includes
Name | Resource | Resource |
---|---|---|
tBTN | Button Resource | |
tCBX | Check Box Resource | |
tFLD | Field Resource | |
tFBM | Form Bitmap Resource | (container for Bitmap resource) |
tGDT | Gadget Resource | (application defined) |
tGSI | Graffiti Shift Indicator Resource | |
tLBL | Label Resource | (container for a String) |
tLST | List Resource | |
tPUT | Popup Trigger Resource | |
tPBN | Push Button Resource | |
tREP | Repeating Button Resource | |
Scroll Bar Resource | (see below) | |
tSLT | Selector Trigger Resource | |
tTBL | Table Resource |
Name | Resource | UI Name |
---|---|---|
Talt | Alert Resource | Alert |
tFRM | Form Resource | Form |
Menu Resource | Menu | |
Menu bar Resource | Menu bar | |
tSTR | String | |
ControlType
ControlType
FieldType
ListType
NOTE:  For each menu, provide shortcuts for all commands or for none at all. Don't assign the same shortcut twice within one application.
ControlType
ControlType
ControlType
  |
String |
The text string to be stored, in decimal ASCII. |
  |   |