GME
13
|
00001 #if !defined(AFX_COMPASSOPTDLG_H__1075F96D_6C41_4353_B962_5812365FC2EC__INCLUDED_) 00002 #define AFX_COMPASSOPTDLG_H__1075F96D_6C41_4353_B962_5812365FC2EC__INCLUDED_ 00003 00004 #if _MSC_VER > 1000 00005 #pragma once 00006 #endif // _MSC_VER > 1000 00007 // CompassOptDlg.h : header file 00008 // 00009 00011 // CCompassOptDlg dialog 00012 00013 class CCompassOptDlg : public CDialog 00014 { 00015 bool m_bInited; 00016 bool m_bClosed; 00017 00018 // Construction 00019 public: 00020 CCompassOptDlg(CWnd* pParent = NULL); // standard constructor 00021 00022 // Attributes 00023 protected : 00024 CPoint m_ptRightTop; 00025 UINT m_uCompassVal; 00026 00027 public : 00028 void SetParameters(const CPoint& ptRightTop, UINT uCompassVal); 00029 UINT GetCompassVal(void) const; 00030 00031 // Dialog Data 00032 //{{AFX_DATA(CCompassOptDlg) 00033 enum { IDD = IDD_COMPASS_OPTION }; 00034 int m_nRadio; 00035 //}}AFX_DATA 00036 00037 // Overrides 00038 // ClassWizard generated virtual function overrides 00039 //{{AFX_VIRTUAL(CCompassOptDlg) 00040 protected: 00041 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00042 //}}AFX_VIRTUAL 00043 00044 // Implementation 00045 protected: 00046 CBitmap m_background; 00047 00048 // Generated message map functions 00049 //{{AFX_MSG(CCompassOptDlg) 00050 virtual BOOL OnInitDialog(); 00051 afx_msg BOOL OnNcActivate(BOOL bActive); 00052 afx_msg void OnRadioCenter(); 00053 afx_msg void OnDoubleclickedRadioCenter(); 00054 afx_msg void OnRadioEast(); 00055 afx_msg void OnDoubleclickedRadioEast(); 00056 afx_msg void OnRadioNorth(); 00057 afx_msg void OnDoubleclickedRadioNorth(); 00058 afx_msg void OnRadioNortheast(); 00059 afx_msg void OnDoubleclickedRadioNortheast(); 00060 afx_msg void OnRadioNorthwest(); 00061 afx_msg void OnDoubleclickedRadioNorthwest(); 00062 afx_msg void OnRadioSouth(); 00063 afx_msg void OnDoubleclickedRadioSouth(); 00064 afx_msg void OnRadioSoutheast(); 00065 afx_msg void OnDoubleclickedRadioSoutheast(); 00066 afx_msg void OnRadioSouthwest(); 00067 afx_msg void OnDoubleclickedRadioSouthwest(); 00068 afx_msg void OnRadioWest(); 00069 afx_msg void OnDoubleclickedRadioWest(); 00070 afx_msg void OnPaint(); 00071 virtual void OnOK(); 00072 //}}AFX_MSG 00073 DECLARE_MESSAGE_MAP() 00074 }; 00075 00076 //{{AFX_INSERT_LOCATION}} 00077 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00078 00079 #endif // !defined(AFX_COMPASSOPTDLG_H__1075F96D_6C41_4353_B962_5812365FC2EC__INCLUDED_)