| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // DockPaneLog.cpp : ʵÏÖÎļþ
- //
- #include "stdafx.h"
- #include "CTI.h"
- #include "DockPane.h"
- #include "IView.h"
- // CDockPaneLog
- IMPLEMENT_DYNAMIC(CDockPane, CDockablePane)
- CDockPane::CDockPane(IResourceView* pView) : m_pView(pView)
- {
- }
- CDockPane::~CDockPane()
- {
- }
- BEGIN_MESSAGE_MAP(CDockPane, CDockablePane)
- ON_WM_SIZE()
- END_MESSAGE_MAP()
- // CDockPaneLog ÏûÏ¢´¦Àí³ÌÐò
- void CDockPane::OnSize(UINT nType, int cx, int cy)
- {
- CDockablePane::OnSize(nType, cx, cy);
- CRect rectClient;
- GetClientRect(rectClient);
- ASSERT(m_pView != NULL);
- m_pView->newSize(rectClient);
- }
|