#pragma once #include "resource.h" class GlwCursorDlg: public CDialog { DECLARE_DYNAMIC(GlwCursorDlg) private: int m_nOldCursorSz; int m_nOldApertureSz; public: enum { IDD = IDD_HAND_DLG }; GlwCursorDlg(CWnd *pParent = NULL): CDialog(IDD, pParent), m_nOldCursorSz(5){}; ~GlwCursorDlg(){} virtual BOOL OnInitDialog(); void Move2Pt(const CPoint &pt); afx_msg LRESULT OnAcadKeepFocus( WPARAM wp, LPARAM lp); protected: DECLARE_MESSAGE_MAP() void SetRgn(); afx_msg void OnPaint(); afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); };