📄 controlscontainer.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -