frame.h
来自「可编程计算器」· C头文件 代码 · 共 35 行
H
35 行
#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 + =
减小字号Ctrl + -
显示快捷键?