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
 VA X 1215: Class View coloring
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Feb 06 2004 :  5:06:15 PM  Show Profile
The items in the class view show some strange appearance:

a) parameters - some parameters are properly colored grey, others are simply black (even with the same type). Functions which take 2 or more parameters have almost always the second parameter in black.

b) namespace - when a function is defined in a namespace and its parameter includes a namespace::type reference, only the ::type is shown. e.g.:
namespace test { 
  enum testtype {...}; 
  void Function(test::testtype param); 
}
then Function appears in the class View as Function(::testtype param)
(please dont tell me that this is VS6's fault)

c) the following type of definition always colors wrong:
template <class T, class TBase = CWindow, class TWinTraits = CControlWinTraits>
class ATL_NO_VTABLE CEditListBoxImpl : public ...

It is shown as CEditListBoxImpl<class T, class TBase = CWindow, class TWinTraits = CControlWinTraits>

d) from the about 60 classes in one of my projects, 11 are colored in black. No pattern that I could find out.

e) The following definition is colored in the class view as function instead of a struct:
struct ConsoleMenu
{
	void (__cdecl *fn) (void);
	LPCTSTR szText;
	__int64 lastrun;
	int	count;
}
cm[] = 
{ 
	{ &cf1, " DNS Lookup" }, 
	{ &cf2, " Exit Application" }, 
	{ &cf3, " Show Configuration" }, 
	{ &cf4, " Dump Threads" }, 
};


f) the struct _MIDL_TYPE_FORMAT_STRING is colored black, while its member "unsigned char Format[]" is colored as a function.
  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