Author |
Topic |
|
nikb
New Member
USA
8 Posts |
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 |
Edited by - nikb on Dec 21 2005 1:06:24 PM |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|
nikb
New Member
USA
8 Posts |
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 |
Edited by - nikb on Dec 21 2005 7:35:33 PM |
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
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 |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
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. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Nov 12 2010 : 3:27:50 PM
|
case=942 is fixed in build 1836 |
Whole Tomato Software, Inc. |
|
|
|
Topic |
|