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 13:33pm
Edited 6-Apr-13 4:45am
Sergey Alexandrovich Kryukov at 26-Dec-12 20:29pm
Not a question; the problem in not clear. —SA
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
Your Filters
0 Sergey Alexandrovich Kryukov 800
1 OriginalGriff 503
2 Abhinav S 253
3 thatraja 245
4 Emre Ataseven 200
0 Sergey Alexandrovich Kryukov 8,282
1 OriginalGriff 4,750
2 Peter Leow 3,784
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107

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