Hide Table of Contents
ShowBubbleTooltipAt Method (ISldWorks)

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)
C# 
void ShowBubbleTooltipAt( 
   System.int PointX,
   System.int PointY,
   System.int ArrowPos,
   System.string TitleString,
   System.string MessageString,
   System.string UrlLoc
)
C++/CLI 
void ShowBubbleTooltipAt( 
&   System.int PointX,
&   System.int PointY,
&   System.int ArrowPos,
&   System.String^ TitleString,
&   System.String^ MessageString,
&   System.String^ 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

If you specified a ...

Then the ToolTip's bubble...

gif, .jpg, or .jpeg image for urlLoc

Is automatically expanded to accommodate the image

URL for urlLoc

Cannot be resized; if the URL is:

  • an HTML file, then the contents of the HTML file are displayed in the bubble ToolTip
  • to a website, then the default or specified web page at that website is displayed in the bubble ToolTip
 

See Also

Availability

SOLIDWORKS 2005 FCS, Revision Number 13.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   ShowBubbleTooltipAt Method (ISldWorks)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2019 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.