AVEVA OMI Software Developer Kit



lable of the command
ToolTips of the command
Icon of the command
CreateAppCommandUI Method
This method will create AppCommandUI.
Syntax
'Declaration
 
Function CreateAppCommandUI( _
   ByVal label As String, _
   ByVal toolTip As String, _
   ByVal icon As DrawingBrush _
) As IAppCommandUI
'Usage
 
Dim instance As IAppCommandManagerBase
Dim label As String
Dim toolTip As String
Dim icon As DrawingBrush
Dim value As IAppCommandUI
 
value = instance.CreateAppCommandUI(label, toolTip, icon)
IAppCommandUI CreateAppCommandUI( 
   string label,
   string toolTip,
   DrawingBrush icon
)
IAppCommandUI^ CreateAppCommandUI( 
   String^ label,
   String^ toolTip,
   DrawingBrush^ icon
) 

Parameters

label
lable of the command
toolTip
ToolTips of the command
icon
Icon of the command

Return Value

return IAppCommandUI
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also