Obsolete. Superseded by ISldWorks::ShowBubbleTooltipAt2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub ShowBubbleTooltipAt( _
ByVal PointX As System.Integer, _
ByVal PointY As System.Integer, _
ByVal ArrowPos As System.Integer, _
ByVal TitleString As System.String, _
ByVal MessageString As System.String, _
ByVal UrlLoc As System.String _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim PointX As System.Integer
Dim PointY As System.Integer
Dim ArrowPos As System.Integer
Dim TitleString As System.String
Dim MessageString As System.String
Dim UrlLoc As System.String
instance.ShowBubbleTooltipAt(PointX, PointY, ArrowPos, TitleString, MessageString, UrlLoc) |
Parameters
- PointX
- x coordinate in pixels relative to upper-left corner of screen
- PointY
- y coordinate in pixels relative to upper-left corner of screen
- ArrowPos
- Arrow position as defined in swArrowPosition
- TitleString
- Title of bubble ToolTip
- MessageString
- Message string of bubble ToolTip
- UrlLoc
- Any valid Windows Internet Explorer file (see Remarks)
Example
Visual Basic for Applications (VBA)
'--------------------------------------------
'
' Preconditions: Specified HTML file exists at the specified location.
'
' Postconditions: Contents of the HTML file are displayed in a Bubble ToolTip.
'
'--------------------------------------------
Option Explicit
Sub main()
' Substitute a valid HTML file for the string shown below
Const sURLpath As String = "path_to_a_gif_jpg_or_jpeg_file_or_a_URL"
Dim swApp As SldWorks.SldWorks
Set swApp = Application.SldWorks
' Show Bubble ToolTip
swApp.ShowBubbleTooltipAt 300, 400, swArrowLeftTop, "Sample ShowBubbleTooltipAt", "Message of Sample ShowBubbleTooltipAt", sURLpath
End Sub
'--------------------------------------------
Remarks
See Also
Availability
SOLIDWORKS 2005 FCS, Revision Number 13.0