FtrGet
call:
err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);
romversion
parameter should be 0x02003000
or greater.
fldChangedEvent
whenever a field object is changed. Previously, the event was at times not sent, especially when a FldSetText
operation was performed. If your application doesn't catch the events that are now sent, it may have problems.
FtrGet
call:
err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);
romversion
parameter should be 0x03003000
or greater.
sysAppLaunchCmdGoto
is now also sent by the exchange manager, in addition to its use by the global find operation.
largeBoldFont
CtlNewControl CtlValidatePointer FldNewField FrmNewBitmap FrmNewForm FrmNewGadget
|
FrmNewLabel FrmRemoveObject FrmValidatePtr LstNewList WinValidateHandle
|
FrmRestoreActiveState FrmSaveActiveState
ScrDisplayMode (system use only) SysGetOSVersionString
|
SysGetROMToken SysGetStackInfo SysGremlins TblGetItemFont TblSetItemFont
|
SysAppLauncherDialog
function, which provides the API to the old popup launcher, is still present in Palm OS 3.0 for compatibility purposes, but has not been updated and generally should not be used. For more information, see "Application Launcher" of the Palm OS Programmer's Companion.
FtrGet
call:
err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);
romversion
parameter should be 0x03103000
or greater.
ChrHorizEllipsis ChrNumericSpace FntWidthToOffset FtrPtrNew FtrPtrFree FtrPtrResize SelectOneTime WinDrawChar WinDrawTruncChars
|
NOTE:  ThePalmOSGlue.lib
provides compatibility functions and macros forChrHorizEllipsis
,ChrNumericSpace
,WinDrawChar
, andWinDrawTruncChars.
If you want to use these functions on systems that don't have the 3.1 feature set, you can link your application withPalmOSGlue.lib
. See the chapter "PalmOSGlue Library" for more information.
ChrNumericSpace
and
ChrHorizEllipsis
to return the appropriate character regardless of the character map. In PalmOSGlue.lib
, these two macros are named TxtGlueGetNumericSpaceChar
and TxtGlueGetHorizEllipsisChar
, respectively. Word revision;
Err err;
err = FtrGet(sysFtrCreator,
    sysFtrNumProcessorID, &id);
if (!err) {
    chip = id & sysFtrNumProcessorMask;
    revision = id & 0x0ffff;
    if (chip==sysFtrNumProcessor328)
    // traditional Dragonball
    else if (chip==sysFtrNumProcessorEZ)
    // Dragonball EZ
}
preferenceDataVersion
was removed and replaced with preferenceDataVerLatest
. WChar
defines a character variable. keyDownEvent
structure's chr
field (which contains the input character) has been changed from a Word
to a WChar
.
StrChr
and
StrStr
now treat buffers as characters, not arbitrary byte arrays. If you previously used these functions to search data buffers, your code may no longer work.
StrToLower
can now handle any type of characters, including accented characters.
FieldAttrType
now has support for the value 2. Previously, the only underline modes available were no underline (0) and gray underline (1). In Palm OS 3.1 and higher, the value 2 is interpreted as solid underline. The UnderlineModeType
enum defined in Window.h
defines the possible values for the underline attribute. onlyLatestVers
parameter changed in 3.1. If onlyLatestVers
is true
, you only receive one matching database for each type/creator pair. In version 3.0 and earlier, you could receive multiple matching databases if onlyLatestVers
was true
. See that function's description for a more detailed description.
FtrGet
call:
err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);
romversion
parameter should be 0x03203000
or greater.
AlmDisplayAlarm
changed from no return value to a Boolean return value. This change may affect system patches and extensions that intercept AlmDisplayAlarm
calls.
FtrGet
as follows:
err = FtrGet(sysFtrCreator, sysFtrNumIntlMgr, &value);
value
parameter will be non-zero and the returned error should also be zero (for no error).
NOTE:  If you want to use international functions on systems that don't have the international feature, you can link your application withPalmOSGlue.lib
. The functions in this library are the same as those listed below except that they use the prefix "TxtGlue" instead of "Txt." For more information, see the chapter "PalmOSGlue Library" .
IntlGetRoutineAddress
FtrGet
as follows:
err = FtrGet(sysFtrCreator, sysFtrNumEncoding, &value);
value
parameter is charEncodingCP932
.
DmSearchStateType searchState;
UInt cardNo;
LocalID dbID;
err = DmGetNextDatabaseByTypeCreator(true, &searchState, sysFileTApplication, sysFileCClipper, true, &cardNo, &dbID);
DmGetNextDatabaseByTypeCreator
routine returns an error. To check for iMessenger, you can use the creator type sysFileCMessaging
.
keyDownEvent
key codes:
FtrGet
as follows:
err = FtrGet(sysFileCSerialMgr, sysFtrNewSerialPresent, &value);
value
parameter will be non-zero and the returned error should also be zero (for no error).
SlkSocketPortID
FtrGet
call:
err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);
romversion
parameter should be 0x03503000
or greater.
BmpBitsSize BmpColortableSize BmpCompress BmpCreate BmpDelete
|
BmpGetBits BmpGetColortable BmpSize ColorTableEntries
|
OmGetCurrentLocale OmGetIndexedLocale OmGetRoutineAddress OmGetSystemLocale
|
OmLocaleToOverlayDBName OmOverlayDBNameToLocale OmSetSystemLocale
|
Byte
, Word
, DWord
and so on are now deprecated. It is recommend that you use the corresponding new data types. For example, use Int16
instead of SWord
and UInt32
instead of DWord
. In particular, the unfortunate distinction between Handle
/VoidHand
has been fixed; use MemHandle
instead.
PalmOSCompatibility.h
. This file provides a mapping from the old type name to the new type name. If you need to move forward without modifying your code, you can include this file in your project to provide declarations for the old type names.
tapCount
field has been added to the
EventType
structure. The tapCount
field specifies the number of times the user tapped the pen at the current location; in fields, two taps selects a word, and three taps selects a line.
IMPORTANT: Because thetapCount
field has been added to theEventType
structure, it has become more critical that you clear the event structure before using it to add a new event to the queue. Otherwise, thetapCount
will be incorrect for the new event.
ctlRepeatEvent
and
ctlSelectEvent
have a value
field added to them. This new field is used only for sliders; it holds the current value of the slider.
frmTitleSelectEvent
by adding a
keyDownEvent
with the vchrMenu
character to the event queue (which causes the form's menu to display). Event.h
to SysEvent.h
.
winEnterEvent
is now not generated until
FrmDrawForm
is called. Make sure to draw your form in response to
frmOpenEvent
, not winEnterEvent
.
FrmDrawForm
FrmDrawForm
erases the window's rectangle before it draws, so you must perform custom drawing after the call to FrmDrawForm
, not before. If you have drawn before the call to FrmDrawForm
, your changes are lost. On debug ROMs, the window handle is invalid until FrmDrawForm
is called so that draws before FrmDrawForm
result in a bus error.
DmGetDatabase
StrToLower
dateStringLength
or longStrLength
debugging bytes, depending on the dateFormat parameter. For the routines that return the day-of-week name in addition to the date, the size of the buffers has been expanded, so developers need to check the max lengths defined in DateTime.h
.
AppInfoType
has been documented.
CategoryCreateList
now has a "hide" function with two new constants; categoryHideEditCategory, and categoryDefaultEditCategoryString
.
FtrGet
as follows:
err = FtrGet(sysFtrCreator, sysFtrNumNotifyMgrVersion, &value);
value
parameter will be non-zero and the returned error should also be zero (for no error).
  |   |