Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Design Practices, implementing RSA Pin
Vidit Ochani25-Apr-12 10:02
Vidit Ochani25-Apr-12 10:02 
GeneralRe: Design Practices, implementing RSA Pin
Aescleal27-Apr-12 1:35
Aescleal27-Apr-12 1:35 
QuestionButton Color In MFC Pin
002comp24-Apr-12 0:40
002comp24-Apr-12 0:40 
AnswerRe: Button Color In MFC Pin
JohnCz24-Apr-12 2:38
JohnCz24-Apr-12 2:38 
GeneralRe: Button Color In MFC Pin
002comp24-Apr-12 2:42
002comp24-Apr-12 2:42 
AnswerRe: Button Color In MFC Pin
David Crow24-Apr-12 2:39
David Crow24-Apr-12 2:39 
GeneralRe: Button Color In MFC Pin
002comp24-Apr-12 2:44
002comp24-Apr-12 2:44 
GeneralRe: Button Color In MFC Pin
David Crow24-Apr-12 6:40
David Crow24-Apr-12 6:40 
AnswerRe: Button Color In MFC Pin
jeron124-Apr-12 3:58
jeron124-Apr-12 3:58 
AnswerRe: Button Color In MFC Pin
JohnCz24-Apr-12 4:08
JohnCz24-Apr-12 4:08 
QuestionRe: Button Color In MFC Pin
David Crow24-Apr-12 6:04
David Crow24-Apr-12 6:04 
AnswerRe: Button Color In MFC Pin
JohnCz24-Apr-12 7:42
JohnCz24-Apr-12 7:42 
GeneralRe: Button Color In MFC Pin
enhzflep24-Apr-12 8:13
enhzflep24-Apr-12 8:13 
GeneralRe: Button Color In MFC Pin
JohnCz24-Apr-12 10:55
JohnCz24-Apr-12 10:55 
GeneralRe: Button Color In MFC Pin
002comp24-Apr-12 20:31
002comp24-Apr-12 20:31 
GeneralRe: Button Color In MFC Pin
002comp24-Apr-12 21:34
002comp24-Apr-12 21:34 
GeneralRe: Button Color In MFC Pin
JohnCz25-Apr-12 0:31
JohnCz25-Apr-12 0:31 
GeneralRe: Button Color In MFC Pin
002comp25-Apr-12 3:05
002comp25-Apr-12 3:05 
AnswerRe: Button Color In MFC Pin
JohnCz25-Apr-12 3:47
JohnCz25-Apr-12 3:47 
GeneralRe: Button Color In MFC Pin
002comp25-Apr-12 7:51
002comp25-Apr-12 7:51 
GeneralRe: Button Color In MFC Pin
David Crow25-Apr-12 8:09
David Crow25-Apr-12 8:09 
GeneralRe: Button Color In MFC Pin
JohnCz26-Apr-12 2:28
JohnCz26-Apr-12 2:28 
Hi yogeshs,
You have to learn how to be patient and read all answers and documentation without skipping some parts.
I have already mentioned twice:

If you are using VS 2008 with feature pack or with SP1 use CMFCButton class.
You need Visual Studio SP1 installed.


Web installer[^]

ISO image[^]

Than you can subclass button using CMFCCustButton.
Subclassing is easy if you use wizard:
Right click on the button in the resource editor and choose Add Variable.
The only option you have is CButton, so select it.
After wizard closes, open dialog’s header file and change CButton to CMFCMenuButton.
JohnCz

QuestionRe: Button Color In MFC Pin
David Crow25-Apr-12 2:39
David Crow25-Apr-12 2:39 
AnswerRe: Button Color In MFC Pin
002comp25-Apr-12 7:55
002comp25-Apr-12 7:55 
QuestionReference return vs Pointer return Pin
Aragtey24-Apr-12 0:05
Aragtey24-Apr-12 0:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.