📄 dlgview.h
字号:
#if !defined(AFX_DLGVIEW_H__D9B81498_1694_4830_B2A0_38D4DA55E499__INCLUDED_)
#define AFX_DLGVIEW_H__D9B81498_1694_4830_B2A0_38D4DA55E499__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgView dialog
class CDlgView : public CDialog
{
// Construction
public:
CDlgView(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgView)
enum { IDD = IDD_DIALOG_VIEW };
CEdit m_edit;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnTimer(UINT nIDEvent);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void ViewFile();
void ViewFile(const char* pszFile, int nSelLine=-1);
private:
void Init();
void AdjustCtrl();
void DrawLineNum();
int m_nSelLine;
char m_szFileName[_MAX_PATH];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGVIEW_H__D9B81498_1694_4830_B2A0_38D4DA55E499__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -