fileopendlg.h
来自「用VC编的电子日记软件」· C头文件 代码 · 共 75 行
H
75 行
#if !defined(AFX_FILEOPENDLG_H__DB1FA1A0_8EBF_11D7_BF22_F9BD678CC248__INCLUDED_)
#define AFX_FILEOPENDLG_H__DB1FA1A0_8EBF_11D7_BF22_F9BD678CC248__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileopenDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFileopenDlg dialog
#include "dirtreectrl.h"
#include "mycombobox.h"
#include "mystatic.h"
#include "mybutton.h"
#include "filedoc.h"
class CFileopenDlg : public CDialog
{
// Construction
public:
CFileopenDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFileopenDlg)
enum { IDD = IDD_OPENFILE };
CMyStatic m_file;
CMyStatic m_drive;
CMyStatic m_director;
CListBox m_list;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileopenDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void AddDrive();
CString st;
CDirTreeCtrl dirtree;
CMYCombobox drivebox;
CString getfile;
CFileDoc doc;
protected:
CRgn rgnc;
CRgn rgnb;
CRgn rgna;
CRect recta;
CMyButton bntok;
CMyButton bntcancel;
CString path;
CString defpath;
// Generated message map functions
//{{AFX_MSG(CFileopenDlg)
afx_msg BOOL OnEraseBkgnd(CDC *pDC);
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeCombodir();
afx_msg void OnDblclkTreedir(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnSelchangeFilelist();
afx_msg void OnDestroy();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILEOPENDLG_H__DB1FA1A0_8EBF_11D7_BF22_F9BD678CC248__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?