MorePalmOS
A development library for developing Palm OS applications

MoreTypes.h File Reference

Provides types for the rest of MorePalmOS, and possibly your code as well. More...

#include "MorePrefix.h"
#include <PalmTypes.h>

Include dependency graph for MoreTypes.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


Typedefs

typedef UInt16 ResourceID_t
 Resource ID.
typedef UInt16 FrmObjectID_t
 Form Object ID.
typedef UInt16 FrmObjectIdx_t
 Form Object Index.
typedef UInt16 CtlValue_t
 Control Value.
typedef UInt16 LibRef_t
 Library Handle.
typedef void FrmObject_t
 Generic Form Object Pointer.
typedef UInt32 CreatorID_t
 Creator ID Code.
typedef UInt16 InternalCardNum_t

Detailed Description

Provides types for the rest of MorePalmOS, and possibly your code as well.

MoreTypes provides types for many common objects that would otherwise use generic types. This can make your code easier to read.

Definition in file MoreTypes.h.


Typedef Documentation

typedef UInt32 CreatorID_t
 

Creator ID Code.

CreatorID_t is equivalent to UInt32. Use CreatorID_t to pass and store creator codes to make code easier to read.

Examples of Palm OS SDK functions that use creator codes:

  • DmGetNextDatabaseByTypeCreator()

Creator codes are registered on the PalmSource developer web site: <http://spp.palmos.com/iws/creator/creatorRegistration.jsp>

Definition at line 120 of file MoreTypes.h.

typedef UInt16 CtlValue_t
 

Control Value.

CtlValue_t is equivalent to UInt16. Use it to pass and store control or list values to make code easier to read.

Examples of Palm OS SDK functions that use control values:

  • CtlGetValue()
  • CtlSetValue()

Definition at line 83 of file MoreTypes.h.

typedef void FrmObject_t
 

Generic Form Object Pointer.

FrmObject_t is equivalent to void. Use FrmObject_t* to pass and store generic form objects to make code easier to read. Generic form object pointers are usually cast to other form object pointers, such as a ControlType* for controls.

Examples of Palm OS SDK functions that use generic form object pointers:

  • FrmGetObjectIndexFromPtr()
  • FrmGetObjectPtr()

Definition at line 107 of file MoreTypes.h.

typedef UInt16 FrmObjectID_t
 

Form Object ID.

FrmObjectID_t is equivalent to UInt16. Use it to pass and store form object IDs to make code easier to read.

Examples of Palm OS SDK functions that pass form object IDs:

  • FrmCopyLabel()
  • FrmGetLabel()
  • FrmGetObjectIndex()

Don't confuse form resource IDs with form object IDs. A form resource ID specifies which resource contains a form; a form object ID identifies each object within that form.

Definition at line 61 of file MoreTypes.h.

typedef UInt16 FrmObjectIdx_t
 

Form Object Index.

FrmObjectIdx_t is equivalent to UInt16. Use it to pass and store form object indexes to make code easier to read.

Examples of Palm OS SDK functions that pass form object indexes:

  • FrmRemoveObject()
  • FrmSetFocus()

Definition at line 72 of file MoreTypes.h.

typedef UInt16 InternalCardNum_t
 

InternalCardNum_t is equivalent to UInt16. Use InternalCardNum_t to pass and store internal card numbers to make code easier to read.

Examples of Palm OS SDK functions that pass internal card numbers:

  • SysCurAppDatabase()
  • DmDatabaseInfo()

Definition at line 128 of file MoreTypes.h.

typedef UInt16 LibRef_t
 

Library Handle.

LibRef_t is equivalent to UInt16. Use it to pass and store library handles to make code easier to read.

Examples of Palm OS SDK functions that use library handles:

  • SysLibFind()
  • SysLibLoad()

Definition at line 94 of file MoreTypes.h.

typedef UInt16 ResourceID_t
 

Resource ID.

ResourceID_t is equivalent to UInt16. Use it to pass and store resource ids to make code easier to read.

Examples of Palm OS SDK functions that past resource IDs:

  • FrmAlert()
  • FrmInitForm()
  • SysStringByIndex()

Definition at line 45 of file MoreTypes.h.

SourceForge.net Logo