I'm writing a simple little file browser, and I've make it a markable listbox (EAknListBoxMarkableList). I've modified the menu_pane to properly handle the "mark/mark all, unmark unmark all". This all works fine.
My problem is when the "hot keys" (or whatever you'd like to call them) are used. Ie, the up arrow key + the center pad on the phone (or shift + enter on epoc). First I don't want the user to be able to mark directories, and if marks are used, I'd like to update the menu_pane (ie: change "Copy" to "Copy Selected Files").
I'm assuming that when the user "marks" an item, a callback is made (but I doesn't appear in HandleListBoxEventL)... but I don't know where this callback is.
My current solution, is to use OfferKeyEventL and wait for the 'KeyButtonUp' event to be sent, then check the scan code to see if the key combination was pressed... then check the current item in the list box to see if it's selected or not. All this seems needlessly complex - I'm hoping for just a callback =).
Thanks in advance!