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
 "unnamed" in VX bar
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

int2str
New Member

8 Posts

Posted - Oct 05 2005 :  1:51:38 PM  Show Profile
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  Show Profile
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
Go to Top of Page

int2str
New Member

8 Posts

Posted - Oct 06 2005 :  01:31:22 AM  Show Profile
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
Go to Top of Page

int2str
New Member

8 Posts

Posted - Oct 06 2005 :  01:42:32 AM  Show Profile
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
Go to Top of Page

int2str
New Member

8 Posts

Posted - Oct 06 2005 :  4:08:25 PM  Show Profile
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
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Oct 07 2005 :  5:19:31 PM  Show Profile
confirmed

case=815

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000