FlatToolBar.h
资源名称:停车场管理系统.zip [点击查看]
上传用户:trilite
上传日期:2007-04-24
资源大小:261k
文件大小:1k
源码类别:
酒店行业
开发平台:
Visual C++
- class CFlatToolBar : public CToolBar
- {
- DECLARE_DYNAMIC(CFlatToolBar);
- public:
- CStatic m_static1;
- CStatic m_static2;
- CStatic m_static3;
- CEdit m_editbox;
- public:
- void SetFlatLookStyle();
- void RepaintBackground();
- void DrawSeparators();
- void DrawSeparators(CClientDC* pDC);
- void EraseNonClient();
- void DrawGripper(CWindowDC *pDC, CRect& rectWindow);
- protected:
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFlatToolBar)
- virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);
- //}}AFX_VIRTUAL
- // 消息处理函数
- protected:
- //{{AFX_MSG(CFlatToolBar)
- afx_msg void OnWindowPosChanging(LPWINDOWPOS lpWndPos);
- afx_msg void OnPaint();
- afx_msg void OnNcPaint();
- afx_msg void OnNcCalcSize( BOOL bCalcValidRects, NCCALCSIZE_PARAMS* lpncsp );
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP();
- };