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

C / C++ / MFC

 
GeneralRe: How can i copy raw image buffer to a dc? Pin
Soumyadipta21-May-08 0:26
Soumyadipta21-May-08 0:26 
GeneralRe: How can i copy raw image buffer to a dc? Pin
CPallini21-May-08 1:07
mveCPallini21-May-08 1:07 
GeneralRe: How can i copy raw image buffer to a dc? Pin
Soumyadipta21-May-08 1:55
Soumyadipta21-May-08 1:55 
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 
Using Visual C++ 6.0 MFC in SDI application

I'm relatively new to C++ (from C). In an application using Visual C++ MFC, I setup a menu item. When that menu item is selected, my code calls the following routine that was setup by Visual C++

CMainFrame::ShowTheCircle()
{
// has my code here...

}

I want to perform this identical operation from another place in my code, which is in a separate .cpp file. I don't understand how to call the ShowTheCircle function from this other place.

void MyCode(void)
{
// call the ShowTheCircle function just as if the menu item was
// selected

// thanks for your help!

}
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 
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 

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.