?
Solved

Coloured CButton...

Posted on 2000-02-18
3
Medium Priority
?
274 Views
Last Modified: 2013-11-20
I am looking for a way to set the background and text colours of a button?(CWnd?)

If this involves subclassing from CButton, overloading the paint service, and using the data exchange, can someone please explain how.

Cheers
Nigel.
0
Comment
Question by:nigel5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 31

Expert Comment

by:Zoppo
ID: 2535059
Hi nigel5,

take a look at http://www.codeguru.com/buttonctrl/color_button.shtml ...

hope that helps,

ZOPPO
0
 
LVL 9

Accepted Solution

by:
cdesigner earned 200 total points
ID: 2535602
use CButtonST
colors, icons, with transparency support , pictures and more , this the best
http://www.codeproject.com/buttonctrl/CButtonST.asp
0
 

Author Comment

by:nigel5
ID: 2536076
Thats the one, and more.

Cheers.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question