ISDBApplication::WebControl

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBApplication, Interface ISDBApplication

Property Get WebControl As Object


Property description

This property returns the built-in web browser window shown over the main MediaMonkey panel. In order to show the browser on tree node focus change, use ISDBTreeNodeEvents::OnNodeFocused event (see the complete sample script). Only by handling this event and returning value 2, the web browser window will be shown over the main tracks window. Otherwise it will just stay hidden, but it is existing.

For the full list of available methods, events and properties, see MS documentation at http://msdn.microsoft.com/en-us/library/aa752085(v=vs.85).aspx

Example code

Function NodeFocus(Node) 
  NodeFocus = 2 
  SDB.WebControl.Navigate "http://www.mediamonkey.com" 
End Function