Morning too!
I am reading the book "Visual C++ and MFC Programming" by FunctionX, Inc.
Here is the ebook version:
http://www.functionx.com/visualc/Lesson07.htm
I just read reviews about the book you recommmended. It seems to be a great book with depth inside how things work.
Is it intended for much more advanced people?
If I understand that correctly, the program starts at virtual BOOL InitInstance( ) function.However, I am still very confused.
Here is what I thought.
1. First Create(NULL, "Windows Application") in class CSimpleFrame is executed and it will create a windows.
2. BOOL InitInstance() is called and m_pMainWnd is pointed to that windows.Actually, I don't see how this is done above.
3. What is the purpose of this variable, CSimpleApp theApp? I don't see it used elsewhere.
Hope you can see what I am thinking wrong.