// DewFindDlg.h : header file // #pragma once #include "GameBoard.h" // CDewFindDlg dialog class CDewFindDlg : public CDialog { // Construction public: CDewFindDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_DEWFIND_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support private: GameBoard gameboard_; void DrawScreen(); // Implementation protected: HICON m_hIcon; // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); afx_msg void OnFileNewgame(); afx_msg void OnFileQuitgame(); virtual BOOL PreTranslateMessage(MSG* pMsg); };