COOL3DWNDMANAGER.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:1k
- // Cool3DWndManager.h: interface for the CCool3DWndManager class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_COOL3DWNDMANAGER_H__A08A4C03_0A6B_11D3_BAA8_12345600558E__INCLUDED_)
- #define AFX_COOL3DWNDMANAGER_H__A08A4C03_0A6B_11D3_BAA8_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "Subclass.h"
- class CCool3DWndManager : public CSubclassWnd
- {
- public:
- BOOL LimitMin(BOOL bLimit);
- void UnInstall();
- void Install(CWnd * pWnd);
- CCool3DWndManager();
- virtual ~CCool3DWndManager();
- protected:
- BOOL m_bLimitMin;
- afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
- CWnd * m_pWnd;
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnNcPaint();
- afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
- afx_msg void OnNcLButtonUp(UINT nHitTest, CPoint point);
- afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
- afx_msg BOOL OnNcActivate(BOOL bActive);
- afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
- virtual BOOL OnInitDialog();
- UINT m_bInSys;
- BOOL m_bSysTracking;
- BOOL m_bActive;
- virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = CWnd::adjustBorder);
- virtual LRESULT WindowProc(UINT msg, WPARAM wp, LPARAM lp);
- };
- #endif // !defined(AFX_COOL3DWNDMANAGER_H__A08A4C03_0A6B_11D3_BAA8_12345600558E__INCLUDED_)