Author |
Topic |
|
int2str
New Member
8 Posts |
Posted - Oct 05 2005 : 1:51:38 PM
|
I don't know when it started, but I've been getting this a lot with recent versions:
The CAuthorizationDlg is derived off a MFC CDialog class. Pressing "GO" jumps to the following line in the responsible header file:
enum { IDD = SOME_ID };
Cheers, Andre |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Oct 05 2005 : 7:44:17 PM
|
this sort of makes sense. the unnamed number is associated with an enum with no name. where exactly is the caret when you press the go button? it is not showing in the screen shot. |
zen is the art of being at one with the two'ness |
|
|
int2str
New Member
8 Posts |
Posted - Oct 06 2005 : 01:31:22 AM
|
quote: Originally posted by feline
this sort of makes sense.
Heh, sorry, but no :D. It doesn't make sense. Even if it's simply confused about the order of entries here, and maybe could offer the class declaration above the enum, there's no excuse for such cryptic token names.
At lease call it "unnamed enum" or so ;).
quote: where exactly is the caret when you press the go button?
The caret is on AuthorizationDlg in this case (hence the tooltip).
I'll follow up with another post with an isolated test case and more screenshots.
Cheers, Andre |
|
|
int2str
New Member
8 Posts |
Posted - Oct 06 2005 : 01:42:32 AM
|
Follow up:
Here is some more information and an isolated test case [1].
In order to rule out MSFT MFC weirdnesses, I've tried to come up with a very simple test case to proof the point. Here is a simple class I came up with:
As you can see, nothing special (well, maybe the unnamed enum ;) ). When used in a program, here's what the VX toolbar shows:
In the drop-down, there's actually three (???) entries:
I don't know why there's two "class Test" entries, but either one seems more applicaple than the enum one.
Please see the test project below for details.
Cheers, Andre
--- [1] Test project (VS 2005): http://www.eisenbach.com/~andre/posted/VX_Test.zip |
|
|
int2str
New Member
8 Posts |
Posted - Oct 06 2005 : 4:08:25 PM
|
Update:
It looks like the test case as described above has been fixed in 1426! Thanks for that!
But there's still a similar problem with structs:
Cheers, Andre |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Oct 07 2005 : 5:19:31 PM
|
confirmed
case=815 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|