Creates a custom tool window that hosts the control specified by the parameter pPlugin. The method returns a pointer to the newly created window.
[Visual Basic .NET] |
---|
Public Function CreateToolWindow( _ ByVal Plugin As IAgUiPlugin, _ ByVal EmbeddedControlUnk As Object, _ ByVal Caption As String _ ) As IAgUiWindow |
[C#] |
---|
public IAgUiWindow CreateToolWindow( IAgUiPlugin Plugin, Object EmbeddedControlUnk, string Caption ); |
[Managed C++] |
---|
public: IAgUiWindow^ CreateToolWindow( IAgUiPlugin ^ Plugin, IUnknown ^ EmbeddedControlUnk, String __gc ^ Caption ); |
[Unmanaged C++] |
---|
public: HRESULT CreateToolWindow( IAgUiPlugin * Plugin, IUnknown * EmbeddedControlUnk, BSTR Caption, IAgUiWindow ** ppWindow ); |
[Java] |
---|
public IAgUiWindow createToolWindow( IAgUiPlugin Plugin, Object EmbeddedControlUnk, String Caption ); |
- Plugin
- The plugin that creates the window.
- EmbeddedControlUnk
- A pointer to an instance of a native control that implements IAgUiPluginEmbeddedWindowHandle.
- Caption
- A text displayed as custom window title.
A new window.
CreateToolWindow method allows creating custom windows that host the instances of native controls. Native controls are objects that support IAgUiPluginEmbeddedWindowHandle interface.