ISDBApplication::WebControl

From MediaMonkey Wiki
Revision as of 15:26, 4 November 2007 by Steegy (talk | contribs)
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.

Example code

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