gps/GPSProject/MediaPlayer/OpenMoveFileDlg.h

85 lines
2.3 KiB
C
Raw Permalink Normal View History

2019-05-01 12:32:35 +00:00
#if !defined(AFX_OPENBOOKFILEDLG_H__77F35687_26AB_45F5_9D04_A476603C2AC5__INCLUDED_)
#define AFX_OPENBOOKFILEDLG_H__77F35687_26AB_45F5_9D04_A476603C2AC5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OpenBookFileDlg.h : header file
//
#include "BmpButton.h"
#include "ThumbIcon.h"
#include <afxwin.h>
/////////////////////////////////////////////////////////////////////////////
// COpenMoveFileDlg dialog
class COpenMoveFileDlg : public CDialog
{
private:
CDC m_BgDC;
CFont m_txtFont;
CStringArray m_FileNames;
int m_NumberDir; // <20><>ǰĿ¼<C4BF><C2BC>Ŀ¼<C4BF><C2BC><EFBFBD><EFBFBD>
int m_CurrentPossion; // <20><>ǰλ<C7B0><CEBB>
CString m_FilePath; // <20><>Ŀ¼·<C2BC><C2B7>
CString m_File; // ѡ<><D1A1>·<EFBFBD><C2B7>
CString m_TitleTxt;
// Construction
public:
CString GetFilePath();
COpenMoveFileDlg(CWnd* pParent = NULL); // standard constructor
~COpenMoveFileDlg();
void ShowFiles(int iStart);
bool IsAvailabFormat(CString strFileName);
void ScanFile();
// Dialog Data
//{{AFX_DATA(COpenMoveFileDlg)
enum { IDD = IDD_DIALOG_FILEVIEW };
CThumbIcon m_lab6;
CThumbIcon m_lab5;
CThumbIcon m_lab4;
CThumbIcon m_lab3;
CThumbIcon m_lab2;
CThumbIcon m_lab1;
CBmpButton m_butOpen;
CBmpButton m_butUp;
CBmpButton m_butDown;
CBmpButton m_butClose;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COpenMoveFileDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COpenMoveFileDlg)
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct);
afx_msg void OnButtonBack();
afx_msg void OnButtonExit();
afx_msg void OnButtonFiledown();
afx_msg void OnButtonFileup();
afx_msg void OnButton1();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnButton7();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OPENBOOKFILEDLG_H__77F35687_26AB_45F5_9D04_A476603C2AC5__INCLUDED_)