mystatic.cpp

来自「fish——能显示jpg格式图片的程序」· C++ 代码 · 共 46 行

CPP
46 行
字号
// Mystatic.cpp : implementation file
//

#include "stdafx.h"
#include "image.h"
#include "Mystatic.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMystatic

CMystatic::CMystatic()
{
}

CMystatic::~CMystatic()
{
}


BEGIN_MESSAGE_MAP(CMystatic, CStatic)
	//{{AFX_MSG_MAP(CMystatic)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMystatic message handlers

LRESULT CMystatic::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) 
{
	// TODO: Add your specialized code here and/or call the base class
	if (message == WM_PAINT)
	{
	//	int res = CStatic::WindowProc(message, wParam, lParam);
	//	return res;
		return 0;
	}
	return CStatic::WindowProc(message, wParam, lParam);
}

⌨️ 快捷键说明

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