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)
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_e
titleString
Title of Bubble ToolTip
messageString
Message string of Bubble ToolTip
urlLoc
Any valid Windows Internet Explorer file

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

'--------------------------------------------

Example

Remarks

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

 

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 (ISwHtmlInterface)
*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) 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.