You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
thruska
Posted - Aug 22 2006 : 10:03:41 PM 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:
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.
3 L A T E S T R E P L I E S (Newest First)
thruska
Posted - Aug 23 2006 : 12:09:40 PM 1532 seems to have fixed this problem.
thruska
Posted - Aug 23 2006 : 12:05:14 PM I've got VAX 1446. I'll give 1532 a try and see what that does for me.
jpizzi
Posted - Aug 23 2006 : 01:24:00 AM 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?