85 lines
2.3 KiB
C++
Executable File
85 lines
2.3 KiB
C++
Executable File
#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; // 当前目录下目录总数
|
|
int m_CurrentPossion; // 当前位置
|
|
CString m_FilePath; // 根目录路径
|
|
CString m_File; // 选择路径
|
|
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_)
|