Please help me!
I have a menu bar in settings page of setting list box. How can I handle this menu commands?
Setting list box creation code:
RESOURCE AVKON_SETTING_PAGE r_texteditor_card_number
type = EEikCtEdwin;
editor_resource_id = r_numericeditor;
hint_text="Enter your card number here";
softkey_resource = r_softkeys_card_ok;
menubar = r_menubar_card_number;
As you can see there is CBA and Manu in list settings list's item. And I wand to handle their commands. By default they are handled with CAknSettingPage owned by CAknSettingItem. But CAknSettingPage that owns menubar doesn't handle user-defined commands and doesn't send them to any class =(. Please share any suggestions on this.
iListBox = new ( ELeave ) CAknExSettingListListbox;
iListBox->SetData( iData );
iListBox->SetMopParent( this );
iListBox->ConstructFromResourceL( R_SETTING_LIST_BUDGET_REC );
AppUi()->AddToStackL( *this, iListBox );
iListBox->SetRect( ClientRect() );
iListBox->MakeVisible( ETrue );
About what I need to implement. I want user to enter card number to the editor of settings item. This number is too long to enter it every time. So I store them in array and want user to fill that editor with stored number that he choose from query listbox. This query list popup cold be called from the menu of setting item's page. What can you advice?
PS: I've spent more than 2 days on this problem =(. As I have concluded User Interface issues are taking 90% of development time. This actually makes me sick of that Symbian programming.