scripting:api:text-view:create-popup-menu

CreatePopupMenu

Method of ITextView

Creates a popup menu and returns a newly created Menu Object

var ppMenu = TextView.CreatePopupMenu();

==== Visual Basic Script ====

ppMenu = TextView.CreatePopupMenu

==== C++ ====

CComPtr<IMenuObject> pMenu;
HRESULT hr = TextView.CreatePopupMenu(&pMenu);

===== See Also ===== ITextView