Solved

Coloured CButton...

Posted on 2000-02-18
3
269 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 50 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

Suggested Solutions

Title # Comments Views Activity
Expand data scrubbing tool 13 36
dog bark java program 15 121
Problem to event 3 114
Making an alias 7 115
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…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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