Use the method ShowMenu() in the class CAknStylusPopUpMenu to show the stylus pop-up menu.
ShowMenu()
CAknStylusPopUpMenu