.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TrayItemBubbleWindow problem with multiple monitors

0 REPLIES 0
Reply
Message 1 of 1
RPeter
316 Views, 0 Replies

TrayItemBubbleWindow problem with multiple monitors

I've got multiple Monitors, when Acad is running on the mainscreen the BubbleWindow wil show as supposed to. But when acad is on the other screen the bubblewindow is not showing. The Icon in the statusbar will always display.

 

Here is the sample of my code:

Dim tibw As New TrayItemBubbleWindow()
tibw.Title = "Bubble title"
tibw.Text = "Text row 1"
tibw.Text2 = "Text row 2"
tibw.IconType = IconType.Information

AddHandler tibw.Closed, AddressOf tibw_closed

Dim ti As New TrayItem
ti.Icon = System.Drawing.SystemIcons.Exclamation
ti.ToolTipText = "Tooltip text"
ti.Visible = True
ti.Enabled = True

Dim sb As StatusBar = Application.StatusBar
sb.TrayItems.Add(ti)
ti.ShowBubbleWindow(tibw)

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost