Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Numerical values in parameter tooltip
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SvenR
Tomato Guru

109 Posts

Posted - Aug 27 2008 :  11:48:12 AM  Show Profile  Reply with Quote
VAX shows numerical values in parameter tooltips instead of the correct definition:



Create is defined as

BOOL	Create	(__in LPCSTR pszFileName, __in DWORD dwDesiredAccess = GENERIC_READ, 
     __in DWORD dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE, __in DWORD dwCreateDisposition = OPEN_EXISTING, 
     __in DWORD dwFlagsAndAttributes = 0, __in_opt LPSECURITY_ATTRIBUTES lpSecurityAttributes = NULL);

Windows 10 x64, VS 2022, VaX 10.9.2522

SvenR
Tomato Guru

109 Posts

Posted - Aug 27 2008 :  12:06:40 PM  Show Profile  Reply with Quote
Is it possible, that this tooltip comes from VS? When I uncheck "Parameter information" in VS 2008 options dialog (Text Editor - All Languages), I don't get any tooltip automatically while typing parameters (only with Ctrl+Shift+Space). And in the Ctrl+Shift+Space tooltip the default values are shown correctly.

Windows 10 x64, VS 2022, VaX 10.9.2522
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 27 2008 :  5:03:02 PM  Show Profile  Reply with Quote
Which version of Visual Assist do you use? I don't see any problems with 1647.
If you turn off Parameter information, Visual Assist will also stop showing param. info tooltips.
So please disable Visual Assist by

VAssistX -> Enable/Disable Visual Assist X

to see, if this is an IDE or a VAX tooltip. If you see this tooltip while VAX is disabled, this is an IDE tooltip.

Do you see this problem with disabled VAX?

Edited by - accord on Aug 27 2008 5:03:57 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 27 2008 :  6:06:10 PM  Show Profile  Reply with Quote
That is an IDE tooltip, VA tooltips do not have the up and down arrows to move between the overloads. VA is having an effect on the tooltip, since it is making one of the parameters bold, but VA should not change text in an IDE tooltip into numbers *puzzled*

zen is the art of being at one with the two'ness
Go to Top of Page

SvenR
Tomato Guru

109 Posts

Posted - Aug 28 2008 :  03:37:28 AM  Show Profile  Reply with Quote
feline is right. With disabled VAX (1647) the same tooltip is shown (also with bold parameters). So it's a bug in VS 2008.

Is VA able to show its own tooltip automatically while typing the different parameters?

Windows 10 x64, VS 2022, VaX 10.9.2522
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 28 2008 :  09:10:44 AM  Show Profile  Reply with Quote
If you turn on:

VA Options -> Advanced -> Display -> Display comments from source files when available
VA Options -> Advanced -> Display -> Enable automatic Quick Info ToolTips

then VA will do its best to show its tooltips instead of letting the IDE show tooltips. Does this make any difference?

zen is the art of being at one with the two'ness
Go to Top of Page

SvenR
Tomato Guru

109 Posts

Posted - Aug 28 2008 :  10:03:48 AM  Show Profile  Reply with Quote
No, unfortunately not.

If I enable

VA Options -> Advanced -> Fonts & Colors -> Apply coloring to Tooltips

then the parameter tooltip (with up/down arrows) is colored by VA, but the text stays the same (as you said). So I have to live with it.

Thanks for your help.

Windows 10 x64, VS 2022, VaX 10.9.2522
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Aug 29 2008 :  11:39:50 AM  Show Profile  Reply with Quote
If you disable VA with the menu option:

VAssistX -> Enable/Disable Visual Assist X

do you still see this problem? I am puzzled by the fact that you only see this problem sometimes. I would expect it to happen all of the time, or none of the time, but if I understand correctly it seems to depend on how the tooltip is triggered.

zen is the art of being at one with the two'ness
Go to Top of Page

SvenR
Tomato Guru

109 Posts

Posted - Sep 02 2008 :  4:44:47 PM  Show Profile  Reply with Quote
Yes, I do.

Create is a method of an object (CxFile). If I write

CxFile test;
if (test.Create(

I see VA's tooltip:



After the first parameter is added

CxFile test;
if (test.Create(szFileName,

VS shows its own tooltip (the one from the first post).

After 'Escape' and 'Ctrl+Shift+Enter' VA's tooltip is shown again. But after every "," VS shows the tooltip with the up/down arrows.

Windows 10 x64, VS 2022, VaX 10.9.2522
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 04 2008 :  4:52:53 PM  Show Profile  Reply with Quote
If you hover the mouse pointer over "Create", and then move the pointer to somewhere else, and then hover again over "Create", do you always see VAX's tooltip?
Go to Top of Page

cartesian
Starting Member

United Kingdom
1 Posts

Posted - Sep 05 2008 :  1:19:38 PM  Show Profile  Reply with Quote
I get the exact same problem.

Locally defined types are fine, but if it's a referenced type you don't get the correct parameter names; only their type names / whether it's passed by value or reference.

I'm pretty sure it's not a vs2008 bug though. Because back when Intellisense actually worked in my project, before I got VA, I was able to see the parameter names.
Go to Top of Page

SvenR
Tomato Guru

109 Posts

Posted - Sep 05 2008 :  1:48:08 PM  Show Profile  Reply with Quote
@accord: Yes, I do. I only see the arrow tooltip with the numerical values while typing parameters.

@cartesian: It's not a VA issue. I have deinstalled VA for testing purpose but the numerical values are still shown in the tooltip.

Windows 10 x64, VS 2022, VaX 10.9.2522
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000