Documentation  |   Table of Contents   |  < Previous   |  Next >  

93    ScrollBar.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

Minor changes only. The ScrollBarType structure is now opaque; its fields cannot be directly accessed. Various parameters passed to or retrieved from SclSetScrollBar() and SclGetScrollBar() have changed from 16-bit integers to 32-bit integers.

Deleted APIs ^TOP^

Table 93.1  Deleted structures

Deleted API

Use instead

ScrollBarAttrType

Nothing. This structure was only used to interpret one of the fields of the ScrollBarType structure, which is now opaque.

Table 93.2  Deleted enumerated types

Deleted API

Use instead

ScrollBarRegionType

Nothing. This enum was only used to interpret one of the fields of the ScrollBarAttrType structure, which is now private.

Modified APIs ^TOP^

Table 93.3  Modified functions

Modified API

Description of change

void SclGetScrollBar (const ScrollBarPtr, int32_t *, int32_t *, int32_t *, int32_t *)

All parameters but the first used to point to variables of type Int16.

void SclSetScrollBar (const ScrollBarPtr, int32_t, const int32_t, const int32_t, const int32_t)

All parameters but the first used to be Int16.

Table 93.4  Modified structures

Modified API

Description of change

ScrollBarType

The contents of this structure, formerly exposed only for debugging purposes, are now completely opaque; structure fields can no longer be accessed directly.

Unchanged APIs ^TOP^

Table 93.5  Unchanged types

ScrollBarPtr

Table 93.6  Unchanged functions

SclDrawScrollBar()

SclHandleEvent()