📄 frame.h
字号:
#pragma once
#include <windows.h>
#include <string>
#include "header.h"
//#include "Compute.h"
using namespace std;
void main( string& s,string& v );
class CFrame
{
public:
CFrame(void);
~CFrame(void);
void Init( HINSTANCE hinstance );
static HRESULT WndProc( HWND hwnd,UINT msg,WPARAM wparam,LPARAM lparam );
void Run();
void CreateButton( char* title,HMENU menu,int x,int y );
static void OnCommand( WPARAM wparam,LPARAM lparam );
protected:
int m_WindowWidth;
int m_WindowHeight;
int m_ButtonWidth;
int m_ButtonHeight;
int w,h;
int x,y;
static HWND m_Hwnd;
HINSTANCE m_Hinstance;
static string m_String;
static string m_Result;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -