Click here to Skip to main content
11,638,351 members (70,604 online)
Click here to Skip to main content
Add your own
alternative version

Changing the Colors of a WTL Dialog (The Easy Way)

, 10 Sep 2013 CPOL 79.1K 2.3K 43
A mix-in class to change the appearance of a dialog, by handling WM_CTLCOLOR* messages, with five lines of code.
the_app.zip
test_ctlcolor.exe
workspace.zip
res
test_ctlcolor.ico
test_ctlcolor.exe.manifest
test_ctlcolor.dsp
test_ctlcolor.dsw

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Pablo Aliskevicius
Software Developer (Senior)
Israel Israel
Pablo writes code for a living, in C++, C#, and SQL.

To make all that work easier, he uses some C++ libraries: STL, ATL & WTL (to write Windows applications), and code generation.

Pablo was born in 1963, got married in 1998, and is the proud father of two wonderful girls.

Favorite quotes:
"Accident: An inevitable occurrence due to the action of immutable natural laws." (Ambrose Bierce, "The Devil's Dictionary", published in several newspapers between 1881 and 1906).
"You are to act in the light of experience as guided by intelligence" (Rex Stout, "In the Best Families", 1950).

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150728.1 | Last Updated 10 Sep 2013
Article Copyright 2004 by Pablo Aliskevicius
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid