Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

CxStatic: a CStatic control with text wrapping

, 17 Feb 2005
A CStatic control with text wrapping, color, and transparency.
cxstatic_demo.zip
CxStatic_demo
TestCxStatic.exe
cxstatic_src.zip
CxStatic_src
res
logo225x72.bmp
ocean.bmp
TestCxStatic.ico
TestCxStatic.dsp
TestCxStatic.dsw
Widgets
CxStatic
/////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2000 by Michel Wassink
// All rights reserved
//
// This is free software.
// You may redistribute it by any means providing it is not sold for profit
// without the author written consent.
//
// No warrantee of any kind, expressed or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
//
// Send bug reports, bug fixes, enhancements, requests, flames, etc., and
// I'll try to keep a version up to date.  I can be reached as follows:
//    mwassink@csi.com				  (private site)
/////////////////////////////////////////////////////////////////////////////

#ifndef __RGBCOLOR_H__
#define __RGBCOLOR_H__

#define	BLACK			RGB( 000, 000, 000 )
#define	DARKBLUE		RGB( 000, 000, 128 )
#define	DARKGREEN		RGB( 000, 064, 000 )
#define	DARKCYAN		RGB( 000, 064, 064 )
#define	DARKRED			RGB( 064, 000, 000 )
#define	DARKMAGENTA		RGB( 128, 000, 128 )
#define	BROWN			RGB( 128, 128, 000 )
#define	DARKGRAY		RGB( 128, 128, 128 )

#define	LIGHTGRAY		RGB( 192, 192, 192 )
#define	LIGHTBLUE		RGB( 000, 000, 255 )
#define	LIGHTGREEN		RGB( 000, 255, 000 )
#define	LIGHTCYAN		RGB( 000, 255, 255 )
#define	LIGHTRED		RGB( 255, 000, 000 )
#define	LIGHTMAGENTA	RGB( 255, 000, 255 )
#define	YELLOW			RGB( 255, 255, 000 )
#define	WHITE			RGB( 255, 255, 255 )
#define SCRIPT			RGB( 176,  6,  002 )

#define GREEN			RGB( 020,  160,  000 )
#define RED				RGB(250, 60, 20)
#define BLUE			RGB(  0,  0,255) //( 20,125,240)


#endif	// __RGBCOLOR_H__

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Vincent Richomme
Researcher
France France
I am currently working as software engineer in a french transport company.
I am interested in C++, MFC, wxWindows and .NET environnement.

| Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 17 Feb 2005
Article Copyright 2004 by Vincent Richomme
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid