#pragma once class CDummyCaption { public: void SetOrientation(bool /*bHorizontal*/) { } // bool GetOrientation() const // { // return true; // } // bool IsHorizontal() const // { // return true; // } void SetRectEmpty() { } long GetThickness() const { return 0; } bool CalculateRect(CRect& /*rc*/,bool /*bTop*/) { return true; } LRESULT HitTest(const CPoint& /*pt*/) const { return HTNOWHERE; } void Draw(HWND /*hWnd*/,CDC& /*dc*/) { } void UpdateMetrics() { } void HotTrack(HWND /*hWnd*/,unsigned int /*nHitTest*/) { } bool Action(HWND /*hWnd*/,const CPoint& /*pt*/,unsigned int /*nHitTest*/) { return false; } void ActionDone(HWND /*hWnd*/,unsigned int /*nHitTest*/,bool /*ok*/) { } }; typedef dockwins::CDockingWindowTraits CDummyCaptionDockingWindowTraits;