ToolTipTitle

Ranorex Spy, Recorder, and Studio.
SanMan
Posts: 153
Joined: Tue Apr 13, 2010 9:59 am

ToolTipTitle

Post by SanMan » Wed Feb 23, 2011 2:32 pm

Hi,

with
string text = Ranorex.ToolTip.Current.Text;
I can easily find the tooltip text.

But how I can find the ToolTipTitle (/ ToolTipIcon) ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ToolTipTitle

Post by Support Team » Wed Feb 23, 2011 10:01 pm

A tooltip normally doesn't have title or icon.
What kind of tooltip is that you are dealing with?
Tooltip normally is a top level window.
If you press <Ctrl>+<Window Key> the spy is refreshed. The tooltip might be visible in the top level.
You can look at the tooltip's structure there.

Regards
Roland
Ranorex Support Team
.
Image

SanMan
Posts: 153
Joined: Tue Apr 13, 2010 9:59 am

Re: ToolTipTitle

Post by SanMan » Thu Feb 24, 2011 12:46 pm

I have got information that it should be like under:
http://msdn.microsoft.com/en-us/library ... title.aspx

When I try to do <Ctrl>+<Window Key> while tooltip is shown, I do not get any information to Spy.

I got the ToolTipIcon with:

System.Drawing.Bitmap icon_a = Ranorex.ToolTip.Current.CaptureCompressedImage();
It will be enough for now...

Thank you for the help.