1 //////////////////////////////////////////////
\r
5 #include "PictureApp.h"
\r
8 // Definitions for the CFrameApp class
\r
9 CPictureApp::CPictureApp()
\r
13 CPictureApp::~CPictureApp()
\r
17 BOOL CPictureApp::InitInstance()
\r
19 //Create the Frame Window
\r
20 if (!m_Frame.Create())
\r
22 // We get here if the Frame creation fails
\r
24 ::MessageBox(NULL, _T("Failed to create Frame window"), _T("ERROR"), MB_ICONERROR);
\r
25 return FALSE; // returning FALSE ends the application
\r