#if !defined(AFX_LoadRect_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_) #define AFX_LoadRect_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // LoadRect.h : header file // ///////////////////////////////////////////////////////////////////////////// // LoadRect dialog #include "MyBmpButton2.h" #include "resource.h" #include #include "shockwaveflash.h" class LoadRect : public CDialog { int m_dtx; int m_dty; CString m_liapath; // Construction public: void SetMargins(int dtx, int dty); BOOL Load(); CShockwaveFlash m_flashctrl; Image *m_pBk; void SetLiaPath(CString path); void OnPaint2(CWnd *pWnd); LoadRect(DWORD id, CWnd *pParent); CWnd *m_pParent; CArraym_picarray; CArraym_rcarray; LoadRect(CWnd* pParent = NULL); // standard constructor enum { IDD = IDD_DLGmydlg }; public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnDestroy(); afx_msg BOOL OnEraseBkgnd(CDC* pDC); virtual void OnOK(); virtual void OnCancel(); afx_msg void OnFSCommandShockwaveflash1(LPCTSTR command, LPCTSTR args); DECLARE_EVENTSINK_MAP() //}}AFX_MSG //afx_msg void OnBtnClick (WPARAM wParam, LPARAM lParam); afx_msg void OnComMsg (WPARAM wParam, LPARAM lParam); DECLARE_MESSAGE_MAP() }; #endif