#if !defined(AFX_ShowPic22_H__636EAAC4_D01D_4170_93F6_9E363BB72892__INCLUDED_) #define AFX_ShowPic22_H__636EAAC4_D01D_4170_93F6_9E363BB72892__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ShowPic22.h : header file // ///////////////////////////////////////////////////////////////////////////// // ShowPic22 dialog #include "ChoosePhotoSkin2.h" #include "JPEG.h" #include "MyAnimateWindow.h" #include "PicBar.h" class ShowPic22 : public CDialog { CPoint m_startpt; CPoint m_startpt2; Image *m_pImagesmall; Image *m_pImagetemp; CRect m_rc; CRect m_rcbak; CRect m_rcscreen; CRect m_picbarrc; Bitmap *m_pbmp; CBitmap m_bmp; CDC m_memdc; CPicture m_pic; BOOL m_bScroll; float m_fscale; MyAnimateWindow m_dlg; PicBar m_PicBar; BOOL m_bProcessing; // Construction public: BOOL m_bInit; Image *m_pImage; void InitRc(Image *img, CRect &rc); CArraym_pImageArray; CArraym_pImageSmallArray; CArraym_nPosArray; void TerminateThread(); bool m_bRunning; // Flag to whether thread is on running or not bool m_bTerminate; // Flag to Thread to be terminated unsigned int m_dwThreadID; // Thread ID HANDLE m_hThread; // Thread and Event handle BOOL m_bauto; void SetEffect(int effect); void Next(); void Pre(); void Rotate2(); void Rotate1(); void InitRc(); void AutoPic(); ChoosePhotoSkin2 *m_pParent; void LoadImage(); ShowPic22(CWnd* pParent = NULL); // standard constructor int m_pos; CStringArray *m_pPathArray; // Dialog Data //{{AFX_DATA(ShowPic22) enum { IDD = IDD_DLGShowPic2 }; CStatic m_sta1; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(ShowPic22) 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(ShowPic22) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnDestroy(); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnClose(); afx_msg void OnMouseMove(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ShowPic22_H__636EAAC4_D01D_4170_93F6_9E363BB72892__INCLUDED_)