Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Tooltip shows wrong information

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
nikb Posted - Dec 21 2005 : 07:15:03 AM
I have been use VA for quite a while now. On occassion, I see some weirdness with tooltips, showing information about symbols. It's not really a big problem or anything, but I figured I'd drop you guys a note. Version information attached at bottom of post to keep things clutter free.



Note, that in the tooltip, the string literal "PSET" doesn't show at all. This was taken during an editing session. The symbol "u" is declared right above this block as follows:
RegUserObject *u = RegUserObject::Locate(uid);

where uid is an unsigned integer.

-n

VA_X.dll file version 10.2.1438.0 built 2005.12.16
Licensed to:
VA X: [email protected] (1-user license) Support ends 2006.07.07
VA.NET 7.1: [email protected] (1-user license)
VAOpsWin.dll version 1.3.1.9
VATE.dll version 1.0.4.11
DevEnv.exe version 7.10.3077.0
msenv.dll version 7.10.3077.0
Font: TheSansMono Office 11(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
4 processors
5   L A T E S T    R E P L I E S    (Newest First)
support Posted - Nov 12 2010 : 3:27:50 PM
case=942 is fixed in build 1836
support Posted - Dec 23 2005 : 11:43:56 AM
feline is correct in stating you get tooltips from VA X and from the IDE. Only in VC6 can we disable entirely the IDE tooltips. For newer IDEs, VA X displays when the IDE does not itself.

VA X colors its own tooltips and those of the IDE, hence coloring does not distinguish the two.

The extra pixel between the left border and the start of the text is the clue -- VA X tooltips have it.
feline Posted - Dec 22 2005 : 2:31:40 PM
the easiest way to tell who produced a tooltip is to turn of VA and repeat the experiment. if you compare the two tooltips you get there is a slight space at the front of the tooltip between the text and the edge on the VA tooltip that is absent on the IDE tooltip.

you are unlikely to spot it unless you are looking for it.

with your example i have simplified this down. adding the two function prototypes to a C++ header file:

void longParam(long l = 2);
void stringParam(const char *s = "fred");

longParam shows the parameter in the tooltip when hovering the mouse over the function while stringParam does not, just as you found.

case=942
nikb Posted - Dec 21 2005 : 7:35:00 PM
Hello,

Yes, I was editing the code, and happened to leave the mouse over the "tmpraii" declaration when I had to answer the phone, and the tooltip popped up.

As far as it being VA or VS, I a don't know for sure. The default VS tooltips aren't colored, but this one is, so I assumed it was VS's own tooltip. I guess that might be the case if you subclass the VS tooltips to work your magic.

Is there any way to determine if the tooltip is from VA or VS?

-n
feline Posted - Dec 21 2005 : 4:00:09 PM
what are you doing when you get this tooltip? is this from hovering the mouse over something, or is this when editing code?

the other complicating factor is that not all tooltips come from VA. so far no way has been found to suppress all IDE tooltips, so you get a mixture of tooltips from VA and the IDE, which might well explain why this seems random if only one of these two sources has a problem.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000