Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== onMenuCreate ====== Event of [[:scripting:api:uievents:start|IUIEvents]] ===== Description ===== Called when toolbar menu should created ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **sCommand** * [[:scripting:api:menu-object:start|IMenuObject]] **pMenu** ===== Syntax ===== ==== JavaScript ==== <code javascript> Appplication.onMenuCreate = function(pMenu) { }; </code>==== Visual Basic Script ==== <code vb> function onMenuCreate(pMenu) { } Appplication.onMenuCreate = onMenuCreate </code>==== C++ ==== <code cpp> HRESULT CUIEvents::onMenuCreate(BSTR sCommand, IMenuObject* pMenu) { } </code>===== See Also ===== [[:scripting:api:uievents:start|IUIEvents]] ~~NOTOC~~