GME  13
CompassCheckDlg.h
Go to the documentation of this file.
00001 #if !defined(AFX_COMPASSCHECKDLG_H__ED0FEEC5_330B_4633_8736_4F6639CBE469__INCLUDED_)
00002 #define AFX_COMPASSCHECKDLG_H__ED0FEEC5_330B_4633_8736_4F6639CBE469__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // CompassCheckDlg.h : header file
00008 //
00009 
00011 // CCompassCheckDlg dialog
00012 
00013 class CCompassCheckDlg : public CDialog
00014 {
00015         bool m_bInited;
00016         bool m_bClosed;
00017 
00018 // Construction
00019 public:
00020         CCompassCheckDlg(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(CCompassCheckDlg)
00033         enum { IDD = IDD_DIALOG_COMPASS };
00034         BOOL    m_bEast;
00035         BOOL    m_bNorth;
00036         BOOL    m_bSouth;
00037         BOOL    m_bWest;
00038         //}}AFX_DATA
00039 
00040 
00041 // Overrides
00042         // ClassWizard generated virtual function overrides
00043         //{{AFX_VIRTUAL(CCompassCheckDlg)
00044         protected:
00045         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00046         //}}AFX_VIRTUAL
00047 
00048 // Implementation
00049 protected:
00050 
00051     CBitmap m_background;
00052 
00053         // Generated message map functions
00054         //{{AFX_MSG(CCompassCheckDlg)
00055         afx_msg BOOL OnNcActivate(BOOL bActive);
00056         virtual BOOL OnInitDialog();
00057         afx_msg void OnPaint();
00058         virtual void OnOK();
00059         virtual void OnCancel();
00060         //}}AFX_MSG
00061         DECLARE_MESSAGE_MAP()
00062 };
00063 
00064 //{{AFX_INSERT_LOCATION}}
00065 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00066 
00067 #endif // !defined(AFX_COMPASSCHECKDLG_H__ED0FEEC5_330B_4633_8736_4F6639CBE469__INCLUDED_)