📄 myviewerdlg.h
字号:
// MyViewerDlg.h : header file
//
#if !defined(AFX_MYVIEWERDLG_H__6B2C7BC2_0AF7_460A_9A11_B7A9D3F6ABA8__INCLUDED_)
#define AFX_MYVIEWERDLG_H__6B2C7BC2_0AF7_460A_9A11_B7A9D3F6ABA8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CMyViewerDlg dialog
class CMyViewerDlg : public CDialog
{
// Construction
public:
CMyViewerDlg(CWnd* pParent = NULL); // standard constructor
void EnCode(char []) ;
void DeCode(char []) ;
bool IsHeq(char []) ;
// Dialog Data
//{{AFX_DATA(CMyViewerDlg)
enum { IDD = IDD_MYVIEWER_DIALOG };
CRichEditCtrl m_show;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyViewerDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CMenu cmenu;
CString m_title ;
CString m_name ;
bool m_ifcg ;
bool m_ifnew ;
CFile m_file ;
DWORD m_flen ;
bool m_first ;
bool m_dropfile ;
bool m_ifcode ;
///////////////字体属性/////////////////////
CFont m_font ;
COLORREF m_color ;
CString m_facename ;
int m_size ;
int m_weight ;
DWORD m_style ;
char m_ita ;
char m_under ;
int m_height ;
int m_width ;
LOGFONT lf ;
///////////////////////////////////////////
long m_max ;
long m_min ;
bool m_ifcut ;
bool m_ifdecode ;
CFile m_tmp ;
// Generated message map functions
//{{AFX_MSG(CMyViewerDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnNew();
afx_msg bool OnSave();
afx_msg void OnFont();
afx_msg void OnSaveas();
afx_msg void OnOpen();
afx_msg void OnChangeRichedit1();
afx_msg void OnAbout();
afx_msg void OnDropfilesRichedit1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeRichedit1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCut();
afx_msg void OnCopy();
afx_msg void OnPaste();
afx_msg void OnClose();
afx_msg void OnExit();
afx_msg void OnHide();
afx_msg void OnDecode();
afx_msg void OnLineau();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYVIEWERDLG_H__6B2C7BC2_0AF7_460A_9A11_B7A9D3F6ABA8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -