Click here to Skip to main content
15,922,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can i copy raw image buffer to a dc? Pin
CPallini21-May-08 2:10
mveCPallini21-May-08 2:10 
QuestionFinding only GDI leaks Pin
Super Hornet20-May-08 4:58
Super Hornet20-May-08 4:58 
AnswerRe: Finding only GDI leaks Pin
Hamid_RT20-May-08 7:34
Hamid_RT20-May-08 7:34 
AnswerRe: Finding only GDI leaks Pin
dosler15-Jan-09 22:54
dosler15-Jan-09 22:54 
QuestionHelp with C++ MFC syntax Pin
Kwanalouie20-May-08 3:28
Kwanalouie20-May-08 3:28 
AnswerRe: Help with C++ MFC syntax Pin
David Crow20-May-08 3:36
David Crow20-May-08 3:36 
AnswerRe: Help with C++ MFC syntax Pin
Rajkumar R20-May-08 3:46
Rajkumar R20-May-08 3:46 
QuestionRe: Help with C++ MFC syntax [modified] Pin
CPallini20-May-08 3:47
mveCPallini20-May-08 3:47 
ShowTheCircle is a method of CMainFrame class, therefore to call it you must have a reference (or a pointer) to a CMainFrame object, for instance
CMainFrame * pMainFrame = (CMainFrame *) AfxGetMainWindow();
CMainFrame * pMainFrame = (CMainFrame *) AfxGetMainWnd();
pMainFrame->ShowTheCircle();


Note that ShowTheCircle must also be declared public.


BTW what about a good C++ tutorial?

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


modified on Tuesday, May 20, 2008 2:58 PM

AnswerRe: Help with C++ MFC syntax Pin
Kwanalouie20-May-08 6:56
Kwanalouie20-May-08 6:56 
GeneralRe: Help with C++ MFC syntax Pin
CPallini20-May-08 9:00
mveCPallini20-May-08 9:00 
Questionbool and BOOL Pin
Jhony george20-May-08 3:25
Jhony george20-May-08 3:25 
AnswerRe: bool and BOOL Pin
Rajesh R Subramanian20-May-08 3:29
professionalRajesh R Subramanian20-May-08 3:29 
AnswerThe latter is the uppercase version of the former. Pin
CPallini20-May-08 3:31
mveCPallini20-May-08 3:31 
GeneralRe: The latter is the uppercase version of the former. [modified] Pin
toxcct20-May-08 3:36
toxcct20-May-08 3:36 
GeneralRe: The latter is the uppercase version of the former. Pin
Rajesh R Subramanian20-May-08 3:37
professionalRajesh R Subramanian20-May-08 3:37 
QuestionRe: The latter is the uppercase version of the former. Pin
CPallini20-May-08 3:38
mveCPallini20-May-08 3:38 
JokeRe: The latter is the uppercase version of the former. Pin
Rajesh R Subramanian20-May-08 3:52
professionalRajesh R Subramanian20-May-08 3:52 
GeneralRe: The latter is the uppercase version of the former. Pin
toxcct20-May-08 3:53
toxcct20-May-08 3:53 
GeneralRe: The latter is the uppercase version of the former. Pin
Rajesh R Subramanian20-May-08 3:54
professionalRajesh R Subramanian20-May-08 3:54 
JokeRe: The latter is the uppercase version of the former. Pin
Cedric Moonen20-May-08 3:55
Cedric Moonen20-May-08 3:55 
GeneralRe: The latter is the uppercase version of the former. Pin
toxcct20-May-08 3:56
toxcct20-May-08 3:56 
JokeRe: The latter is the uppercase version of the former. Pin
Rajesh R Subramanian20-May-08 3:58
professionalRajesh R Subramanian20-May-08 3:58 
JokeRe: The latter is the uppercase version of the former. Pin
CPallini20-May-08 3:59
mveCPallini20-May-08 3:59 
AnswerRe: bool and BOOL [modified] Pin
toxcct20-May-08 3:33
toxcct20-May-08 3:33 
GeneralRe: bool and BOOL Pin
Rajesh R Subramanian20-May-08 3:36
professionalRajesh R Subramanian20-May-08 3:36 

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.