Hi,

calling my PopupMenu works fine with the call

GetViewFrame()->GetDispatcher()->ExecutePopup,

but now I would like to change one item string before showing the menu dynamically. As far as I can see in the code, it is not possible to get a pointer to this to be shown popup, change an item string, and then show it myself, so sth. like

PopupMenu* pMenu = GetViewFrame()->GetDispatcher()->Popup();
pMenu->SetItemText(FN_HI,"what's up");
pMenu->Executge(pWin,Pos);

If my observation is true, could sth. like that be added to the framework? Any other way to do this?

I could probably do this with a context menu interceptor, but I guess this would be real overkill in this case.

Best regards
Max


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

Reply via email to