Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Using menu pane dynamically like dialog

1 replies · 2,405 views · Started 18 January 2005

i created and showed menu pane at runtime(not using DynInitMenu) by deriving my own class from CEikMenuPane, and drawing it by DrawNow() when i need it. It works perfectly, but i need to handle events not in separete observer class(one derived from MEikMenuObserver), but like wait dialog does. i meen stoping current thread until user selects from menu some item and returting resulting command in function.
therefore i need menu observer to be run and processing events in separe thread, so that i can stop current thread, but receive events to observer.
P.S. i can't use CAknListDialog becouse i need items with sub menues, and my dynamical menu is already working well, but not like dialog.
Thanks