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
- #include "MyBmpButton2.h"
- #include "resource.h"
- #include <afxtempl.h>
- #include "shockwaveflash.h"
- class MyDlg : public CDialog
- {
- CString m_liapath;
- 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);
- 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;
-
- enum { IDD = IDD_DLGmydlg };
-
-
-
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- 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 void OnBtnClick (WPARAM wParam, LPARAM lParam);
- afx_msg void OnComMsg (WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- };
- #endif
|