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
 Class defined within namespace uncoloured
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Stephen
Tomato Guru

United Kingdom
781 Posts

Posted - Oct 12 2004 :  05:14:07 AM  Show Profile
#include <gdiplus.h>
using namespace Gdiplus;

class CMyColor
{
    static Color ColorFromString(LPCTSTR lpsz) { ... }
};
Color should be blue, is black. It is however known by the HCB, definition bar and Alt-G: it's just not coloured. 1274, 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
18939 Posts

Posted - Oct 13 2004 :  4:04:55 PM  Show Profile
*sigh*

on my work machine (.NET 2003, VAX 1274) Color is shown in purple in most places. jumping to the .h defining colour "GdiplusColor.h" shows Color to be purple, rather than the correct blue. this suggests that the namespace is a red herring, at least for that machine.

of course, when i try this at home, Color is shown both blue and italic

the two machines should have the same VAX settings, so i am not sure what is causing this problem.

ideally i need to be able to reproduce a problem before i raise a task. any thoughts on what might be triggering this?

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