diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-405F7AB8-0F0E-4171-95E6-3524D76917DE.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-405F7AB8-0F0E-4171-95E6-3524D76917DE.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,27 @@ + + + + + +Handling +stylus pop-up menu events and commands +

At the construction phase, CAknStylusPopUpMenu is given +a MEikMenuObserver object, which is usually a pointer to +the application’s UI (CAknAppUi) +or another class that implements the interface. The stylus pop up menu will +grab the stylus event when one of its items is tapped on and it will then +report the item’s command ID to the menu observer. It is then up to the application +to handle the command in the implementation of MEikMenuObserver::HandleCommandL().

+

When an item is tapped, the menu calls its observer's (iMenuObserver) +ProcessCommandL. Typically the observer is application's AppUi. It is then +the observer's responsibility to handle the command appropriately. The observer +is informed with KErrCancel if the menu is closed without making a selection.

+

Add sample code on event and command +handling here.

+
\ No newline at end of file