Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: uikon.rh

Resource Struct TBAR_CTRL

STRUCT TBAR_CTRL

Support

Supported from 6.0

Description

Resources with this structure are used in the controls[] field of a TOOLBAR resource, and describe the component controls of the toolbar which should be created and initialised.

The toolbar is not implemented in Quartz or Crystal v6, though it is part of the reference user interface and may be implemented in the future.

WORD type

The type of control for this item. May be one of Uikon’s stock concrete controls or a custom control. However, only the following TEikStockControls are appropriate for use in a typical toolbar:EEikCtFileNameLabel, EEikCtSpacer, EEikCtClock, or EEikCtIndicator.

WORD id=0

The command invoked when this control is activated.

WORD flags=0

To combine flags use the bitwise OR operator (|).

WORD length=0

In a toolband, the width of this control. In a toolbar, the height of this control.Ignored unless EEikToolBarCtrlHasSetMinLength flag is set.

STRUCT control

Resource defining this control. As defined in the control’s .rh file. The type depends on the type field, above.