Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: uikon.rh

Resource Struct CMBUT

CMBUT

Support

Supported from 6.0

Description

A command button.

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

See also:

BYTE version=0;

Unused.

WORD behavior=0; 

Button behaviour flags.

See also:

WORD layout=0;

Flags to define how the horizontal space is handled between the button’s text and image.

See also:

LTEXT helptxt="";

Help text for the button.

LLINK extension=0;

Unused.

LTEXT txt="";

Specifies the button’s text label.The default is none.

LTEXT bmpfile="";

Specifies the bitmap filename from which to read the button’s image.The default is the eikon .mbm file eikon.mbm.

WORD bmpid=0xffff;

Specifies the index of the bitmap in the bmpfile file.A default value of 0xffff indicates no bitmap.

WORD bmpmask=0xffff;

Specifies the index of the bitmap mask in the file. A default value of 0xffff indicates no bitmap mask.