www.pudn.com > 200518174534292.rar > FlatToolBar.h


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(); 
};