📄 cpp2htmldlg.h
字号:
// CPP2HTMLDlg.h : header file
//
#if !defined(AFX_CPP2HTMLDLG_H__D04ACCCB_560C_4276_9230_6B95168DC856__INCLUDED_)
#define AFX_CPP2HTMLDLG_H__D04ACCCB_560C_4276_9230_6B95168DC856__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCPP2HTMLDlg dialog
#include "MRUCombo.h"
#include "WinXPButtonST.h"
#include "CJListCtrl.h"
class CCPP2HTMLDlg : public CDialog
{
// Construction
public:
void Convert(LPCTSTR szCppFilePath, LPCTSTR szHtmlFilePath);
CCPP2HTMLDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCPP2HTMLDlg)
enum { IDD = IDD_CPP2HTML_DIALOG };
CWinXPButtonST m_btnHtmlDirSelect;
CWinXPButtonST m_btnQuit;
CWinXPButtonST m_btnConvert;
CWinXPButtonST m_btnAbout;
CWinXPButtonST m_btnDelete;
CWinXPButtonST m_btnAdd;
CMRUComboBox m_ctrlHtmlSaveDir;
CCJListCtrl m_List;
CString m_szHtmlSaveDir;
CString m_szConvertingInfo;
BOOL m_bMerge;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCPP2HTMLDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void BuildColumn( );
BOOL IsDirExist(const CString &strDirPath);
BOOL IfExistInList(const CString& szPath);
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCPP2HTMLDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnHtmldir();
afx_msg void OnButtonAdd();
afx_msg void OnButtonDelete();
afx_msg void OnQuit();
afx_msg void OnConvert();
afx_msg void OnAbout();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_nFileCount;
CStringArray m_FileNameArray;
CStringArray m_PathArray;
CImageList m_imageList;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CPP2HTMLDLG_H__D04ACCCB_560C_4276_9230_6B95168DC856__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -