hello,
how to get the position of a cascaded item in a menu?
I have a dynamically created menu in my DynInitMenuPaneL() method.
i have more cascaded items in my S60 menu.
item1 -> sub item 1
sub item 2
sub item 3
item2 -> sub item 1
sub item 2
first i add the "main" items and then i need to add the items in the cascade menu for each "main item" (the sub items).
but because I add them dynamically, I need to retrive the current or selected "main item" position in order to know what cascaded items(sub items) to add
in a cascade menu , SelectedItem() get the position of the selected cascade item(subitem), not of the main item
My question is how to add the subitems for each item dynamically
how do i know in my DynInitMenuPaneL() function , which main item the user has selected in order to fill the cascade pane accordingly?
thanks.



