diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-E3A60844-EE37-4AF1-8921-59375C563723.dita --- a/Symbian3/SDK/Source/GUID-E3A60844-EE37-4AF1-8921-59375C563723.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-E3A60844-EE37-4AF1-8921-59375C563723.dita Fri Jun 11 12:39:03 2010 +0100 @@ -1,74 +1,74 @@ - - - - - -Removing -item-specific commands from the toolbarThis document describes the changes required to your code to remove -the item-specific commands from the toolbar. - -Remove all item-specifc -commands from your resource files. - - -

Let us consider the following code snippet as a part of an application -that supports single-tap functionality. As single-tap functionality does not -support highlighting an item in a list, the item-specific commands are not -required to be in a toolbar and therefore can be removed.

-RESOURCE AVKON_TOOLBAR r_application_toolbar - { - flags = KAknToolbarFlexiblePosition; - items = - { - // Top level buttons -//----------------------------------------------------------------------------- -/*------Remove this item specific command (Delete)----------- - TBAR_CTRL - { - type = EAknCtButton; - id = EToolbarDelete; - control = AVKON_BUTTON - { - flags = KAknButtonSizeFitText;; - states = - { - AVKON_BUTTON_STATE - { - bmpfile = "\\resource\\apps\\delete.mbm"; - bmpid = ECalInterIcon_delete_unpressed_38x38; - press_bmpid = EMCalInterIcon_delete_pressed_38x38; - helptxt = "Delete"; - } - }; - }; - }, - ----------------------------------------------------------------------------- */ - TBAR_CTRL - { - type = EAknCtButton; - id = EToolbarHelp; - control = AVKON_BUTTON - { - flags = 0; - states = - { - AVKON_BUTTON_STATE - { - bmpfile = "\\resource\\apps\\help.mbm"; - bmpid = ECalInterIcon_undo_unpressed_38x38; - press_bmpid = ECalInterIcon_undo_pressed_38x38; - helptxt = "Help"; - } - }; - }; - }; - }; - } -
+ + + + + +Removing +item-specific commands from the toolbarThis document describes the changes required to your code to remove +the item-specific commands from the toolbar. + +Remove all item-specifc +commands from your resource files. + + +

Let us consider the following code snippet as a part of an application +that supports single-tap functionality. As single-tap functionality does not +support highlighting an item in a list, the item-specific commands are not +required to be in a toolbar and therefore can be removed.

+RESOURCE AVKON_TOOLBAR r_application_toolbar + { + flags = KAknToolbarFlexiblePosition; + items = + { + // Top level buttons +//----------------------------------------------------------------------------- +/*------Remove this item specific command (Delete)----------- + TBAR_CTRL + { + type = EAknCtButton; + id = EToolbarDelete; + control = AVKON_BUTTON + { + flags = KAknButtonSizeFitText;; + states = + { + AVKON_BUTTON_STATE + { + bmpfile = "\\resource\\apps\\delete.mbm"; + bmpid = ECalInterIcon_delete_unpressed_38x38; + press_bmpid = EMCalInterIcon_delete_pressed_38x38; + helptxt = "Delete"; + } + }; + }; + }, + ----------------------------------------------------------------------------- */ + TBAR_CTRL + { + type = EAknCtButton; + id = EToolbarHelp; + control = AVKON_BUTTON + { + flags = 0; + states = + { + AVKON_BUTTON_STATE + { + bmpfile = "\\resource\\apps\\help.mbm"; + bmpid = ECalInterIcon_undo_unpressed_38x38; + press_bmpid = ECalInterIcon_undo_pressed_38x38; + helptxt = "Help"; + } + }; + }; + }; + }; + } +
\ No newline at end of file