Hides the Bubble ToolTip displayed by
ISwHtmlInterface::ShowBubbleTooltipAt.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub HideBubbleTooltip() |
Visual Basic (Usage) | |
---|
Dim instance As ISwHtmlInterface
instance.HideBubbleTooltip() |
C# | |
---|
void HideBubbleTooltip() |
C++/CLI | |
---|
void HideBubbleTooltip(); |
Example
Visual Basic for Applications (VBA)
This example shows how to display and hide a Bubble ToolTip.
'--------------------------------------------
'
' Preconditions: Substitute the path and filename of your HTML file for path_filename.
'
' Postconditions: Contents of the HTML file are displayed in a Bubble ToolTip,
' and then are hidden from view.
'
'--------------------------------------------
Option Explicit
Sub main()
Const sURLpath As String = "path_filename"
Dim pSldWorks As Object
Set pSldWorks = CreateObject("SwHtmlControl.SwHtmlInterface")
' Show Bubble ToolTip
pSldWorks.ShowBubbleTooltipAt 300, 400, swArrowLeftTop, "Sample Bubble ToolTip", "Message of Sample Bubble ToolTip", sURLpath
Stop
' Hide Bubble ToolTip
pSldWorks.HidebubbleTooltip
End Sub
'--------------------------------------------
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0