To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95180





------- Additional comments from [EMAIL PROTECTED] Mon Oct 20 12:08:58 +0000 
2008 -------
Not sure if that helps, but when asking for a context menu from the dispatcher,
it was directly shwon and could not be manipulated.

This was changed by myself, so you can get the returned context menu from the
dispatcher, change it in any way and then show it.

E.g.

SfxPopupMenuManager* aMgr =
mpMarginWin->DocView()->GetViewFrame()->GetDispatcher()->Popup(0,
this,&rCEvt.GetMousePosPixel());
((PopupMenu*)aMgr->GetSVMenu())->SetItemText(FN_DELETE_NOTE_AUTHOR,aText);
((PopupMenu*)aMgr->GetSVMenu())->Execute(this,rCEvt.GetMousePosPixel());
                        



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to