You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
938 B
C++

#include "stdafx.h"
#include "LaiPuLaser.h"
#include "PaneDialogTmp.h"
IMPLEMENT_DYNAMIC(CPaneDialogTmp, CDockablePane)
BEGIN_MESSAGE_MAP(CPaneDialogTmp, CDockablePane)
ON_WM_CREATE()
ON_WM_SIZE()
END_MESSAGE_MAP()
CPaneDialogTmp::CPaneDialogTmp()
{
}
CPaneDialogTmp::~CPaneDialogTmp()
{
}
// CPaneStdMarkCtrl <20><>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
int CPaneDialogTmp::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CDockablePane::OnCreate(lpCreateStruct) == -1)
return -1;
CRect rectDummy;
rectDummy.SetRectEmpty();
// <20><><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD><EEBFA8><EFBFBD><EFBFBD>:
if(!m_Dlg->Create(m_Dlg->GetIDD(),this))
{
return -1; // δ<>ܴ<EFBFBD><DCB4><EFBFBD>
}
m_Dlg->ShowWindow(SW_SHOW);
return 0;
}
void CPaneDialogTmp::OnSize(UINT nType, int cx, int cy)
{
CDockablePane::OnSize(nType, cx, cy);
// ѡ<><EFBFBD>ؼ<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
m_Dlg->SetWindowPos (this, -1, -1, cx, cy, SWP_NOACTIVATE | SWP_NOZORDER);
m_Dlg->ShowWindow(SW_SHOW);
}