📄 big2gbdlg.h
字号:
// BIG2GBDlg.h : header file
//
#if !defined(AFX_BIG2GBDLG_H__1715DF06_E0EC_11D4_9003_B46735790F29__INCLUDED_)
#define AFX_BIG2GBDLG_H__1715DF06_E0EC_11D4_9003_B46735790F29__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "StringEx.h"
/////////////////////////////////////////////////////////////////////////////
// CBIG2GBDlg dialog
class CBIG2GBDlg : public CDialog
{
// Construction
public:
CBIG2GBDlg(CWnd* pParent = NULL); // standard constructor
CStringEx m_text;
// Dialog Data
//{{AFX_DATA(CBIG2GBDlg)
enum { IDD = IDD_BIG2GB_DIALOG };
CString strOpenTXTName;
CString strSaveTXTName;
CString m_SourceFileName;
CString m_DescFileName;
int m_Result;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBIG2GBDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
CStringArray strLine;
long GetLineNumber();
long CalLineNumber();
int GetTextLength();
CString GetText();
CString Range(long start,long end);
void BigtoGB() ;
void GBtoBig();
// Attributes
private:
long m_lineNumber;
BOOL bBigToGB;
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CBIG2GBDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDirbrowser();
afx_msg void OnFilebrowser();
virtual void OnOK();
afx_msg void OnButton1();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BIG2GBDLG_H__1715DF06_E0EC_11D4_9003_B46735790F29__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -