mainwin.h

来自「Visual C++角色扮演游戏程序设计(附带CD源代码)作者: (日)坂本千寻」· C头文件 代码 · 共 37 行

H
37
字号
//
// Script player main window
//
// Copyright (c) 2000-2001 Chihiro.SAKAMOTO (HyperWorks)
//
#ifndef __MainWin_h__
#define __MainWin_h__

#include "Window.h"
#include "dc.h"
#include "Image.h"
#include "DrawImage.h"

//
// 主視窗類別
//
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 OnClose();
	void OnPaint();
	
protected:
	CDrawImage ViewImage; // 顯示
	CImage Back; // 背景
	CImage Overlap; // 重疊
} ;

#endif

⌨️ 快捷键说明

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