MindCracker
Programmer
Hi
I am learning Visual C++ and struggling to understand what they means:
1) What is CMainFrame *mainframe = (CMainFrame *) AfxGetMainWnd();
2) mainframe->ProgressAddString(ctext);
3) What is the difference between CMainFrame *mainframe and CMainFrame* mainframe? Are they the same?? Which one is the correct way?
Can anyone please help to explain that? I read many programming boooks but still got to nowhere. Any recommended resources I could refer to ? Please help!! Thank you
I am learning Visual C++ and struggling to understand what they means:
1) What is CMainFrame *mainframe = (CMainFrame *) AfxGetMainWnd();
2) mainframe->ProgressAddString(ctext);
3) What is the difference between CMainFrame *mainframe and CMainFrame* mainframe? Are they the same?? Which one is the correct way?
Can anyone please help to explain that? I read many programming boooks but still got to nowhere. Any recommended resources I could refer to ? Please help!! Thank you