29 #include "../../idlib/precompiled.h"
44 m_DragPreviewActive =
false;
45 m_ContainedDialog =
NULL;
55 ON_WM_NCLBUTTONDBLCLK()
67 if ( nHitTest == HTCAPTION )
69 m_DockManager->DockWindow ( m_DialogID ,
true );
72 CWnd::OnNcLButtonDblClk(nHitTest, point);
82 CPoint point (-10 , -10);
85 rect.OffsetRect(point);
88 rect.DeflateRect(0,0,0,1);
90 rect.InflateRect(0,0,0,1);
110 if ( pMsg->message == WM_NCLBUTTONUP )
123 return CWnd::PreTranslateMessage(pMsg);
132 CWnd::OnSize(nType, cx, cy);
144 CWnd::OnSetFocus(pOldWnd);
CONST PIXELFORMATDESCRIPTOR UINT
void DockWindow(int ID, bool dock)
void SetDockManager(CTabsDlg *dlg)
afx_msg void OnSize(UINT nType, int cx, int cy)
afx_msg void OnSetFocus(CWnd *pOldWnd)
BOOL PreTranslateMessage(MSG *pMsg)
virtual ~CTearoffContainerWindow()
void SetDialog(CWnd *dlg, int ID)