controlscontainer.cpp

来自「类似flashget下载工具代码 本来想在完善了上传的」· C++ 代码 · 共 77 行

CPP
77
字号
// ControlsContainer.cpp : implementation file
//

#include "stdafx.h"
#include "MyInsaneBT.h"
#include "ControlsContainer.h"

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

/////////////////////////////////////////////////////////////////////////////
// CControlsContainer

CControlsContainer::CControlsContainer()
{
}

CControlsContainer::~CControlsContainer()
{
}


BEGIN_MESSAGE_MAP(CControlsContainer, CWnd)
	//{{AFX_MSG_MAP(CControlsContainer)
	ON_WM_SIZE()
	//ON_WM_ERASEBKGND()
	ON_WM_CREATE()
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CControlsContainer message handlers


int CControlsContainer::OnCreate(LPCREATESTRUCT lpCreateStruct)
{    
     	


//
//	CRect rectDummy;
//	rectDummy.SetRectEmpty ();
//
//	if(!m_wndList.Create(dwViewStyle, rectDummy, this,4))
//	{
//	   TRACE0("Failed to create list tab window\n");
//	   return -1;
//	}
//    
//	m_wndList.InsertItem(0,"cccccc");
//	Layout();
    
	return 0;
}
void CControlsContainer::OnSize(UINT nType, int cx, int cy)
{
     CWnd::OnSize(nType, cx, cy);
	 Layout();

}

void CControlsContainer::Layout()
{


}

BOOL CControlsContainer::Create(const RECT& rect, CWnd* pParentWnd)
{
    return CWnd::Create(NULL, _T(""), WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN, 
						rect, pParentWnd, 10);
}

⌨️ 快捷键说明

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