32 #ifndef MFCWindow_INCLUDE_ONCE 33 #define MFCWindow_INCLUDE_ONCE 58 HWND
hwnd()
const {
return m_hWnd; }
64 afx_msg
void OnPaint();
66 afx_msg
void OnDestroy();
67 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
68 afx_msg
void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
69 afx_msg
void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
70 afx_msg
void OnLButtonDblClk(UINT nFlags, CPoint point);
71 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
72 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
73 afx_msg
void OnMButtonDblClk(UINT nFlags, CPoint point);
74 afx_msg
void OnMButtonDown(UINT nFlags, CPoint point);
75 afx_msg
void OnMButtonUp(UINT nFlags, CPoint point);
76 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
77 afx_msg BOOL OnMouseWheel(UINT nFlags,
short zDelta, CPoint pt);
78 afx_msg
void OnRButtonDblClk(UINT nFlags, CPoint point);
79 afx_msg
void OnRButtonDown(UINT nFlags, CPoint point);
80 afx_msg
void OnRButtonUp(UINT nFlags, CPoint point);
81 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
83 afx_msg
void OnDropFiles(HDROP hDropInfo);
87 void destroyGLContext();
88 void countAndCapture();
89 void countAndRelease();
void setAutomaticDelete(bool autodel_on)
If set to true the Object is deleted when its reference count reaches 0.
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
The OpenGLContextFormat class encapsulates the settings of an OpenGL rendering context.
static CString mClassName
The Win32Context class implements an OpenGLContext using the Win32 API.
HWND hwnd() const
Returns the Win32 window handle.
The MFC bindings namespace.
The MFCWindow class is an MFC CWnd with the functionalities of a Win32Context.