123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #if !defined(AFX_MyDlg_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_)
- #define AFX_MyDlg_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MyDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // MyDlg dialog
- #include "MyBmpButton2.h"
- #include "resource.h"
- #include <afxtempl.h>
- #include "shockwaveflash.h"
- class MyDlg : public CDialog
- {
- CString m_liapath;
- // Construction
- public:
- CShockwaveFlash m_flashctrl;
- Image *m_pBk;
- void SetLiaPath(CString path);
- void OnPaint2(CWnd *pWnd);
- MyDlg(DWORD id, CWnd *pParent);
- CWnd *m_pParent;
- CArray<DWORD,DWORD>m_picarray;
- CArray<CRect,CRect>m_rcarray;
- MyDlg(CWnd* pParent = NULL); // standard constructor
- virtual void BtnClick(WPARAM wParam, LPARAM lParam)=0;
- virtual void Init()=0;
- virtual void Destory()=0;
- virtual BOOL PreTransMsg(MSG* pMsg)=0;
- virtual void OnFSCommand(LPCTSTR command, LPCTSTR args)=0;
- // Dialog Data
- //{{AFX_DATA(MyDlg)
- enum { IDD = IDD_DLGmydlg };
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(MyDlg)
- 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(MyDlg)
- 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_MyDlg_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_)
|