wrapchild.cpp

来自「miXo is a buzz machine (www.buzzmachines」· C++ 代码 · 共 40 行

CPP
40
字号
// WrapChild.cpp: implementation of the CWrapChild class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "mixer.h"
#include "WrapChild.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
/*
CWrapChild::CWrapChild()
{

}

CWrapChild::~CWrapChild()
{

}
*/
HWND CWrapChild::SetParent(HWND h)
{
	if(GetHandle()) {
		return ::SetParent(GetHandle(),h);
	}
	return 0;
}
void CWrapChild::ShowWindow(int iMode)
{
	if(GetHandle()) 
		::ShowWindow(GetHandle(),iMode);
}

⌨️ 快捷键说明

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