Deskbar Constants

Deskbar Location

enum deskbar_location Constant
B_DESKBAR_TOP Expanded (only) along the top.
B_DESKBAR_BOTTOM Expanded (only) along the bottom.
B_DESKBAR_LEFT_BOTTOM Contracted (only) in bottom left corner.
B_DESKBAR_RIGHT_BOTTOM Contracted (only) in bottom right corner.
B_DESKBAR_LEFT_TOP In the top left corner (expanded or contracted).
B_DESKBAR_RIGHT_TOP In the top right corner (expanded or contracted).
The deskbar_location constants are used to set and return the Deskbar's location (see Location()). The six locations are shown in the two illustrations below:
topbottom.png

leftright.png

The deskbar_location value affects the Deskbar's expanded state: The Deskbar can be expanded or contracted in B_DESKBAR_LEFT_TOP and B_DESKBAR_RIGHT_TOP locations only. In the other locations, the expansion / contraction is hard-wired. The illustration below shows a left-top Deskbar in its expanded and contracted states:
contractexpand.png

Copyright 2005 by yellowTAB GmbH, Be Inc., Palm Source Inc. and their respective legal successors
All rights reserved.