Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Chapter 2 Variables and Identifiers Visual C++ and MFC Fundamentals


return TRUE;
}
};

or:

struct CSimpleApp : public CWinApp
{
BOOL InitInstance();
};

BOOL CSimpleApp::InitInstance()
{
return TRUE;
}

Practical Learning: Building a Simple Application



  1. Start Microsoft Visual Studio or Microsoft Visual C++

  2. On the main menu, click File -> New...

  3. In the Project tab, click Win32 Application
    Specify the Name to Windows Fundamentals


Figure 16: New Project - Windows Fundamentals...................................................................



  1. Click OK

Free download pdf