📄 mainfrmenc.txt
字号:
// MainFrm.h : CMainFrame 类的接口
//
#pragma once
#define MAX_LOADSTRING 100
#define MAX_LANGNAME 255 // Maximum native language name length
// Type definitions
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
LANGID UILanguage; // The UI language chosen by the user
HMODULE hSatDLL; // Handle for the satellite DLL module
// Forward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK Language(HWND, UINT, WPARAM, LPARAM);
int PopulateLanguages(HWND);
LANGID DetectLanguage(void);
HMODULE LoadSatelliteDLL(LANGID);
//BOOL CALLBACK EnumLangProc(HANDLE hModule, LPCTSTR lpszType, LPCTSTR lpszName,
// WORD wIDLanguage, LONG_PTR lParam);
LANGID GetNTDLLNativeLangID();
BOOL IsHongKongVersion();
void OnMenuChangeType();
// 属性
public:
// 操作
public:
// 重写
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// 实现
public:
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // 控件条嵌入成员
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
// 生成的消息映射函数
protected:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnMenuChangelang();
afx_msg void OnSubstitute();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -