Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++/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
Edited 6-Apr-13 5:45am
Sergey Alexandrovich Kryukov at 26-Dec-12 20:29pm
Not a question; the problem in not clear.
Mahdi Nejadsahebi at 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
Please Sign up or sign in to vote.

Solution 1


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

  Print Answers RSS
0 DamithSL 285
1 Zoltán Zörgő 170
2 OriginalGriff 140
3 Sergey Alexandrovich Kryukov 120
4 Maciej Los 115
0 OriginalGriff 7,740
1 DamithSL 5,769
2 Sergey Alexandrovich Kryukov 5,424
3 Maciej Los 5,076
4 Kornfeld Eliyahu Peter 4,539

Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 6 Apr 2013
Copyright © CodeProject, 1999-2014
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