Click here to Skip to main content
15,887,422 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: To make a function in C which does not except "\n" & EOF as input. Pin
Richard MacCutchan3-Jan-18 21:54
mveRichard MacCutchan3-Jan-18 21:54 
QuestionC Program to Calculate Difference Between Two Time Periods . Pin
Tarun Jha31-Dec-17 12:27
Tarun Jha31-Dec-17 12:27 
AnswerRe: C Program to Calculate Difference Between Two Time Periods . Pin
Richard MacCutchan31-Dec-17 22:42
mveRichard MacCutchan31-Dec-17 22:42 
AnswerRe: C Program to Calculate Difference Between Two Time Periods . Pin
jschell1-Jan-18 6:22
jschell1-Jan-18 6:22 
GeneralRe: C Program to Calculate Difference Between Two Time Periods . Pin
Richard MacCutchan1-Jan-18 7:36
mveRichard MacCutchan1-Jan-18 7:36 
GeneralRe: C Program to Calculate Difference Between Two Time Periods . Pin
jschell3-Jan-18 13:08
jschell3-Jan-18 13:08 
GeneralRe: C Program to Calculate Difference Between Two Time Periods . Pin
Tarun Jha1-Jan-18 13:42
Tarun Jha1-Jan-18 13:42 
Questionnon-user interface event such as a DDE, OLE Pin
_Flaviu31-Dec-17 3:25
_Flaviu31-Dec-17 3:25 
I have noticed that CMainFrame::ActivateFrame is not called normally, when I start the app from debugger, or from Windows Explorer.

C++
void CMainFrame::ActivateFrame(int nCmdShow) 
{
	// TODO: Add your specialized code here and/or call the base class
MessageBox(_T("AAAA"));
	CMDIFrameWnd::ActivateFrame(nCmdShow);
}

And I have read CFrameWnd::ActivateFrame
[^]here that this method are called "Call this member function to activate and restore the frame window so that it is visible and available to the user. This member function is usually called after a non-user interface event such as a DDE, OLE, or other event that may show the frame window or its contents to the user."

Can you give an example when this method is called ? I am trying to start the my app in hidden mode, passing in this method (CMainFrame::ActivateFrame) nCmdShow = SW_HIDE;

Thank you.
AnswerRe: non-user interface event such as a DDE, OLE Pin
Victor Nijegorodov31-Dec-17 4:09
Victor Nijegorodov31-Dec-17 4:09 
GeneralRe: non-user interface event such as a DDE, OLE Pin
_Flaviu31-Dec-17 9:59
_Flaviu31-Dec-17 9:59 
QuestionHow to Read/Write schema file .xsd in c++ Pin
brraj28-Dec-17 19:15
brraj28-Dec-17 19:15 
AnswerRe: How to Read/Write schema file .xsd in c++ Pin
Richard MacCutchan28-Dec-17 21:24
mveRichard MacCutchan28-Dec-17 21:24 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
brraj1-Jan-18 17:49
brraj1-Jan-18 17:49 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
Richard MacCutchan1-Jan-18 22:57
mveRichard MacCutchan1-Jan-18 22:57 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
brraj1-Jan-18 23:01
brraj1-Jan-18 23:01 
AnswerRe: How to Read/Write schema file .xsd in c++ Pin
jschell1-Jan-18 6:30
jschell1-Jan-18 6:30 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
brraj1-Jan-18 17:56
brraj1-Jan-18 17:56 
GeneralRe: How to Read/Write schema file .xsd in c++ Pin
jschell3-Jan-18 13:08
jschell3-Jan-18 13:08 
QuestionStruct type and memory Pin
Anonygeeker27-Dec-17 18:17
Anonygeeker27-Dec-17 18:17 
AnswerRe: Struct type and memory Pin
Richard MacCutchan27-Dec-17 21:47
mveRichard MacCutchan27-Dec-17 21:47 
QuestionRe: Struct type and memory Pin
David Crow28-Dec-17 2:52
David Crow28-Dec-17 2:52 
AnswerRe: Struct type and memory Pin
Richard MacCutchan28-Dec-17 3:38
mveRichard MacCutchan28-Dec-17 3:38 
QuestionTo write a c program to maintain a log of football match b/w 2 teams and then compare the results of the log entered by user and announce the winner. Pin
Tarun Jha26-Dec-17 20:09
Tarun Jha26-Dec-17 20:09 
AnswerRe: To write a c program to maintain a log of football match b/w 2 teams and then compare the results of the log entered by user and announce the winner. Pin
Victor Nijegorodov26-Dec-17 21:57
Victor Nijegorodov26-Dec-17 21:57 
GeneralRe: To write a c program to maintain a log of football match b/w 2 teams and then compare the results of the log entered by user and announce the winner. Pin
Tarun Jha26-Dec-17 22:30
Tarun Jha26-Dec-17 22:30 

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.