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

📄 wrapchild.h

📁 miXo is a buzz machine (www.buzzmachines.com) - a plugin for the freely available jeskola buzz track
💻 H
字号:
// WrapChild.h: interface for the CWrapChild class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_WRAPCHILD_H__2CDF6182_6107_11D5_8DCF_9D36791C493D__INCLUDED_)
#define AFX_WRAPCHILD_H__2CDF6182_6107_11D5_8DCF_9D36791C493D__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include <assert.h>
#include <string>
#include "AbWin.h"
using namespace std;
class CAbWin;
class CWrapChild  
{
	string m_strName;
public:
	CWrapChild() : 	m_strName("") {};
	CWrapChild(const CWrapChild &c) : m_strName(c.m_strName) {};
	virtual ~CWrapChild() {};
	const string &GetName() const { return m_strName; }
	void SetName(const string &s) { m_strName=s; }
	virtual HWND SetParent(HWND);
	virtual CWrapChild *New() const = 0;
	virtual bool IsEqual(const CWrapChild &c) const = 0;
	virtual void ForgetHandle() {};
	virtual void ForgetPointer() {};
	virtual HWND GetHandle() const { return 0; }
	virtual void SetHandle(HWND) {}
	virtual CAbWin *GetPointer() const { return NULL; }
	virtual void SetPointer(CAbWin*) {};
	virtual void CreateChild(HWND,const CWinRect &) {};
	virtual void SetChildData(const CWrapChild *pc) { assert(pc); m_strName=pc->GetName(); }
	virtual bool MakeChildMoveable() { return true; }
	virtual void ShowWindow(int);
	virtual const char *GetChildTitle() const { return m_strName.c_str(); }
};

#endif // !defined(AFX_WRAPCHILD_H__2CDF6182_6107_11D5_8DCF_9D36791C493D__INCLUDED_)

⌨️ 快捷键说明

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