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
 VAX Intellisense bug?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

thruska
Ketchup Master

71 Posts

Posted - Aug 22 2006 :  10:03:41 PM  Show Profile  Reply with Quote
I'm pretty sure this is a VAX bug in the Intellisense logic. My code compiles fine but I'm either getting wrong or no tooltips in this very specific case. Here is the relevant portion of code:

size_t x, y;
CListCtrl *TempCtrl = (CListCtrl *)GetDlgItem(IDC_PRODUCTLIST);

TempCtrl->InsertColumn(0, "Product", LVCFMT_LEFT);
TempCtrl->InsertColumn(1, "Status", LVCFMT_LEFT);

y = MxUpdateList.GetSize();
for (x = 0; x < y; x++)
{
TempCtrl->InsertItem((int)x, *MxUpdateList[x].MxPackageName, x);
}

Moving the mouse over the 'y' in 'y = MxUpdateList' says it is 'size_t x' instead of 'size_t y'. Additionally, moving the mouse over the 'y' in 'x < y' has no tooltip whatsoever. And moving the mouse over the three 'x's on the InsertItem() line has no tooltip for any of them.

MxUpdateList is a member variable with a type of Block (a.k.a. vector) of a specialized class (not much to the class - just some public variables). MxPackageName is a BString (closest thing to BString is a mixture of string and CString). The * operator in BString is overloaded.

It may be of interest that I have two sessions of VS.NET open but I'm looking at two different solutions and projects. It is also interesting to note that I'm only experiencing this problem for just that little section of code.

Thomas Hruska
CubicleSoft President
http://www.cubiclesoft.com/

jpizzi
Tomato Guru

USA
642 Posts

Posted - Aug 23 2006 :  01:24:00 AM  Show Profile  Reply with Quote
If I paste that code into a project in VS 2003 with VAX 1532, I get the correct tips for all the mentioned cases.

What appears just before this code? Maybe there is something there that is confusing VA?

Joe Pizzi
Go to Top of Page

thruska
Ketchup Master

71 Posts

Posted - Aug 23 2006 :  12:05:14 PM  Show Profile  Reply with Quote
I've got VAX 1446. I'll give 1532 a try and see what that does for me.

Thomas Hruska
CubicleSoft President
http://www.cubiclesoft.com/
Go to Top of Page

thruska
Ketchup Master

71 Posts

Posted - Aug 23 2006 :  12:09:40 PM  Show Profile  Reply with Quote
1532 seems to have fixed this problem.

Thomas Hruska
CubicleSoft President
http://www.cubiclesoft.com/
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