1 //////////////////////////////////////////////////////
\r
2 // Simple.cpp - Definitions for the CViewSimple class
\r
6 #include "resource.h"
\r
10 ///////////////////////////////////////////////
\r
11 // CViewSimple functions
\r
12 void CViewSimple::OnDraw(CDC* pDC)
\r
14 //Centre some text in the window
\r
15 CRect rc = GetClientRect();
\r
16 pDC->DrawText(_T("Simple View"), -1, rc, DT_CENTER|DT_VCENTER|DT_SINGLELINE);
\r
19 LRESULT CViewSimple::WndProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
\r
27 case WM_WINDOWPOSCHANGED:
\r
32 return WndProcDefault(uMsg, wParam, lParam);
\r