Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: uikon.rh

Resource Struct LBBUT

LBBUT

Support

Supported from 6.0

Description

A button, optionally with a label below showing the keypress to access that command.

Resources with this structure are read by CEikLabeledButton::ConstructFromResourceL(), and describe the CEikLabeledButton to be constructed.

See also:

WORD buttontype=0; // EEikCtCommandButton

The button type.Valid types are EEikCtCommandButton, EEikCtMenuButton, EEikCtTextButton, and EEikCtBitmapButton.

STRUCT button;

Resource for the button, e.g. a CMBUT resource.This should match the type specified in the buttontype field.

LONG hotkey;

Hotkey key for the button.

BYTE flags=1;

Button flags.Options are EEikLabeledButtonPlainHotKey, EEikLabeledButtonShowHotKey, and EEikLabeledButtonIsDefault. The default is EEikLabeledButtonShowHotKey.