Click here to Skip to main content
12,694,352 members (34,324 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: MFC
have a good time

i use visual c++ 2012.
i want to change the backcolor and textcolor of the button,textbox and ... .
i used OnCtlColor but it wans'nt clearly as c# application.that was bad.
also i used the articles in codeproject about it,but i couldn't do it.


how do i do?

thanks in advance
Posted 26-Dec-12 14:33pm
Updated 6-Apr-13 5:45am
v2
Comments
Sergey Alexandrovich Kryukov 26-Dec-12 20:29pm
   
Not a question; the problem in not clear.
—SA
Mahdi Nejadsahebi 26-Dec-12 22:07pm
   
it's clear.
i want to change the backcolor of a button in c++,like c# and basic.
how can i do this?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 6 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100