• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

Coloured CButton...

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
nigel5
Asked:
nigel5
1 Solution
 
ZoppoCommented:
Hi nigel5,

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

hope that helps,

ZOPPO
0
 
cdesignerCommented:
use CButtonST
colors, icons, with transparency support , pictures and more , this the best
http://www.codeproject.com/buttonctrl/CButtonST.asp
0
 
nigel5Author Commented:
Thats the one, and more.

Cheers.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now