http://www.mediamonkey.com/wiki/index.p ... owMenuItem
How is this event supposed to be used?
I'm getting 3 menu's when I tried to add 1... it seems to be firing 3 times...
Triggered once: when node left clicked (no menu displayed)
Triggered twice more: when node right clicked (menu displayed with 2x menu items)
Code: Select all
Script.RegisterEvent TestNode, "OnShowMenuItem", "TestMenu" Sub TestMenu(node) Set SDB.Objects("mnuTest") = SDB.UI.AddMenuItem(SDB.UI.Menu_Pop_Tree,0,0) SDB.Objects("mnuTest").Caption = "Test Menu" End Sub
Is this a bug or how is this event supposed to work?