⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainwin.h

📁 用MFC写的RPG游戏
💻 H
字号:
//
// 实例的主窗口
//
// Copyright (c) 2000-2001 Chihiro.SAKAMOTO (HyperWorks)
//
#ifndef __MainWin_h__
#define __MainWin_h__

#include "Window.h"
#include "dib.h"
#include "dc.h"

//
// MainWin 类别
//
class CMainWin: public CWindow {
public:
LRESULT WindowProc(UINT uMsg, WPARAM wParam, LPARAM lParam);

void OnCommand(UINT notifyCode, UINT id, HWND ctrl);

protected:
virtual BOOL PreCreateWindow(CREATESTRUCT &cs);

BOOL OnCreate(CREATESTRUCT *cs);
void OnPaint();

protected:
CDib ViewImage; // 显示
} ;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -