Author |
Topic |
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Oct 26 2004 : 05:12:18 AM
|
When I hover over an enum in the source, a tooltip shows the numerical value of the enum. But in the HCB it doesn't, it just says "enum FOO".
1278, C++, VS.NET 2003. |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Oct 27 2004 : 5:54:35 PM
|
using the C++ class:
class CMyClass
{
private:
enum counting { ONE = 1, TWO = 2, THREE = 3, FOUR = 4 };
int nCount;
public:
void __stdcall increaseCount( );
void testParam(bool arg1=true);
};
i am getting:
not a very complex example, but it is working here. using .NET 2003 and VAX 1278 |
zen is the art of being at one with the two'ness |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Oct 29 2004 : 08:07:07 AM
|
Well, you made it too easy for VAX! Tryenum counting { ONE = 1, TWO, THREE, FOUR }; |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Nov 03 2004 : 5:59:03 PM
|
i have changed the class enum to your version, and using the C++ code:
CMyClass foo;
int nTest = CMyClass::FOUR;
nTest = CMyClass::ONE;
nTest += CMyClass::TWO;
nTest += CMyClass::THREE; when i hover over these enum's in the editor i only see the value for CMyClass::ONE. no value is ever given for the other three.
i have tried turning on: VAX options -> text editor -> listboxes -> get content from default intellisense
and then restarting the IDE, but this hasn't made any difference. i cannot get a tooltip, or any other info showing me the values of the other three enums while editing the code. *wild guess* are you looking at tooltips while debugging your code?
all of this is with .NET 2003 and VAX 1282 |
zen is the art of being at one with the two'ness |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Nov 04 2004 : 04:23:09 AM
|
Hmmm, I suppose I may have been. In which case, this is a feature request for the tooltips and the HCB. :-) |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Nov 06 2004 : 2:23:22 PM
|
case=427 |
zen is the art of being at one with the two'ness |
|
|
Cuc
Junior Member
11 Posts |
Posted - Feb 02 2005 : 04:20:15 AM
|
A small comment on this issue: when VAX is disabled Bill shows all information about an enum. In feline's example, modified by Stephen with auto counting enum, it shows about FOUR:enum CMyClass::counting::FOUR = 4 I think it is worthy to be followed. When debugging both VAX and Bill shows the correct value of an enum, but without the enum type:CMyClass::FOUR = 4 I don't know why Bill became so stingy. |
|
|
|
Topic |
|