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
 Tooltips are cut off in VS 2005, VAX build 1540
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gbozoki
Ketchup Master

USA
70 Posts

Posted - Nov 09 2006 :  4:36:39 PM  Show Profile  Reply with Quote
Hi all,

I'm not sure if this is a VAX or a VS problem, but when I use the Excel primary interop assemblies to work with Excel from C#, I get tooltips like this in the screenshot:



The right edge of the tooltip is cut off because it is out of screen bounds.

To reproduce, follow these steps:

  • Make sure Excel 2003 is installed.

  • Make sure that the .Net Programmability Support is installed for Excel.
  • Create a new C# project and add references to Excel.

  • Add 'using Excel = Microsoft.Office.Interop.Excel;' to the class.

  • Create a multi-level if structure (anything, just make it long) to reach near the right edge of the screen.

  • Inside the innermost if, add the following code:
    Excel.Application oExcelApp = new Excel.Application ();
    oExcelApp.|



At the last step, if the surrounding if block is deep enough, the code will be close to the right edge of the screen and tooltips for some of the members in the completion list will be cut off.

This is very annoying - is there anything I can do?

Thanks,
gbozoki

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Nov 09 2006 :  6:28:39 PM  Show Profile  Reply with Quote
I am seeing the same effect here with String::LastIndexOf(), so this is not specific to MS Office. With VA disabled the IDE places the tooltip on either the right or left hand side of the listbox, depending on how far across the screen you are, so this is a VA bug.

case=3551

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

gbozoki
Ketchup Master

USA
70 Posts

Posted - Nov 09 2006 :  7:39:09 PM  Show Profile  Reply with Quote
feline,

Thanks for your reply. I mentioned Excel only because I thought the tooltip is wrong because of the large number of parameters. I normally don't see these kind of tooltips with other components, but Excel and Word has some crazy member functions with tons of params and the code also requires lots of deep if-s to make sure everthing goes fine.

Normally I rarely reach beyond column ~80, so the tooltips show up ok.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 14 2008 :  2:38:22 PM  Show Profile  Reply with Quote
case=3551 is fixed in build 1645

Whole Tomato Software, Inc.
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