GME  13
PanningViewDlg.h
Go to the documentation of this file.
00001 #if !defined(AFX_PANNINGVIEWDLG_H__F45C3D88_53BE_4FD0_8446_372BBF753884__INCLUDED_)
00002 #define AFX_PANNINGVIEWDLG_H__F45C3D88_53BE_4FD0_8446_372BBF753884__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // PanningViewDlg.h : header file
00008 //
00009 #include "resource.h"
00010 #include "PanningButton.h"
00011 
00013 // CPanningViewDlg dialog
00014 
00015 class CPanningViewDlg : public CDialog
00016 {
00017 // Construction
00018 public:
00019         CPanningViewDlg(CWnd* pParent = NULL);   // standard constructor
00020         void SetBitmapDC(HWND owner, HDC bdc, HBITMAP oldBmp, CRect& ori, CRect& rect, COLORREF& bkgrnd);
00021         void SetViewRect(CRect& vrect);
00022         BOOL OnInitDialog();
00023 
00024 
00025 // Dialog Data
00026         //{{AFX_DATA(CPanningViewDlg)
00027         enum { IDD = IDD_PANNINGVIEWDLG };
00028         CPanningButton  m_pvbutton;
00029         //}}AFX_DATA
00030 private:
00031 
00032 public:
00033 // Overrides
00034         // ClassWizard generated virtual function overrides
00035         //{{AFX_VIRTUAL(CPanningViewDlg)
00036         protected:
00037         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00038         //}}AFX_VIRTUAL
00039 
00040 // Implementation
00041 protected:
00042 
00043         // Generated message map functions
00044         //{{AFX_MSG(CPanningViewDlg)
00045         afx_msg void OnSize(UINT nType, int cx, int cy);
00046         //}}AFX_MSG
00047         DECLARE_MESSAGE_MAP()
00048 };
00049 
00050 //{{AFX_INSERT_LOCATION}}
00051 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00052 
00053 #endif // !defined(AFX_PANNINGVIEWDLG_H__F45C3D88_53BE_4FD0_8446_372BBF753884__INCLUDED_)