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
 Feature Requests
 Tooltip bug in 1561
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Oct 01 2007 :  08:26:22 AM  Show Profile  Reply with Quote
Here is my code:
// Initialize global strings
1. TCHAR buffer
2. LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
3. LoadString(hInstance, IDC_WINDOWSTRINGCAPTURE, szWindowClass, MAX_LOADSTRING);

When I place the cursor after "LoadString(" at line 2 I get the following tooltip text (with syntax colors activated):

TCHAR buffer LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING)

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Oct 01 2007 :  8:39:36 PM  Show Profile  Reply with Quote
What sort of tooltip are you seeing? For a parameter info tooltip I am seeing this:


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

znakeeye
Tomato Guru

379 Posts

Posted - Oct 02 2007 :  03:49:22 AM  Show Profile  Reply with Quote
No, that's wrong ;) You added a semi-colon after "TCHAR buffer"...

I'm seeing exactly the text I pasted. If I could find an "upload image" button somewhere, I would post my screen dump too :P
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Oct 02 2007 :  2:51:39 PM  Show Profile  Reply with Quote
I added the semi-colon since complaining VA is confused by invalid code is unfair

VA tries its best with code that does not compile (you are still editing it), but there are limits, and missing semi-colons is a good way to confuse VA's parser.

zen is the art of being at one with the two'ness
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