Hide Table of Contents
ShowBubbleTooltipAt Method (ISwHtmlInterface)

Displays a Bubble ToolTip at the specified location.

.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 ISwHtmlInterface
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)
void ShowBubbleTooltipAt( 
   System.int pointX,
   System.int pointY,
   System.int arrowPos,
   System.string titleString,
   System.string messageString,
   System.string urlLoc
void ShowBubbleTooltipAt( 
&   System.int pointX,
&   System.int pointY,
&   System.int arrowPos,
&   System.String^ titleString,
&   System.String^ messageString,
&   System.String^ urlLoc


x coordinate in pixels relative to upper-left corner of  screen
y coordinate in pixels relative to upper-left corner of screen
Arrow position as defined in swArrowPosition_e
Title of Bubble ToolTip
Message string of Bubble ToolTip
Any valid Windows Internet Explorer file


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




    ' Hide Bubble ToolTip



End Sub





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 and shows only the URL


See Also


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

Subject:   Feedback on Help Topics
Page:   ShowBubbleTooltipAt Method (ISwHtmlInterface)
*   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:


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

Web Help Content Version: API Help (English only) 2015 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.