7 #if !defined(_SIMPLEVIEW_H_INCLUDED_)
8 #define _SIMPLEVIEW_H_INCLUDED_
12 #endif // _MSC_VER > 1000
33 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
35 virtual void OnDraw(CDC* pDC);
40 BOOL CreateViewGLContext(HDC hDC);
41 BOOL SetWindowPixelFormat(HDC hDC);
44 virtual void AssertValid()
const;
45 virtual void Dump(CDumpContext& dc)
const;
54 afx_msg
void OnDestroy();
55 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
56 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
57 afx_msg
void OnPaint();
58 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
59 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
60 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
61 afx_msg
void OnRButtonDown(UINT nFlags, CPoint point);
62 afx_msg
void OnRButtonUp(UINT nFlags, CPoint point);
63 afx_msg
void OnMButtonDown(UINT nFlags, CPoint point);
64 afx_msg
void OnMButtonUp(UINT nFlags, CPoint point);
69 #ifndef _DEBUG // debug version in mfcSimpleView.cpp
79 #endif // !defined(_SIMPLEVIEW_H_INCLUDED_)