1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #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 <afxtempl.h>
- #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;
- CArray<DWORD,DWORD>m_picarray;
- CArray<CRect,CRect>m_rcarray;
- LoadRect(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(LoadRect)
- enum { IDD = IDD_DLGmydlg };
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(LoadRect)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(LoadRect)
- 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()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_LoadRect_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_)
|