www.pudn.com > LockToolbars.zip > MainFrm.h, change:2005-04-21,size:1902b
// MainFrm.h : Schnittstelle der Klasse CMainFrame // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MAINFRM_H__C398747E_DD95_49F6_87C3_9A8A4A260532__INCLUDED_) #define AFX_MAINFRM_H__C398747E_DD95_49F6_87C3_9A8A4A260532__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CMainFrame : public CFrameWnd { protected: // Nur aus Serialisierung erzeugen CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Attribute public: // Operationen public: // Überladungen // Vom Klassenassistenten generierte Überladungen virtueller Funktionen //{{AFX_VIRTUAL(CMainFrame) virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementierung public: virtual ~CMainFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Eingebundene Elemente der Steuerleiste CStatusBar m_wndStatusBar; CToolBar m_wndToolBar; CDialogBar m_wndDlgBar; // Generierte Message-Map-Funktionen protected: //{{AFX_MSG(CMainFrame) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnViewLockthetoolbars(); afx_msg void OnUpdateViewLockthetoolbars(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: //! Points to the dockbar of the standard toolbar //! CDockBar* m_pTBDockBar; //! Points to the dockbar of the dialog bar //! CDockBar* m_pDBDockBar; //! TRUE = toolbars are locked<br> //! FALSE = toolbars are not locked, so you can move them BOOL m_bLocked; }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein. #endif // !defined(AFX_MAINFRM_H__C398747E_DD95_49F6_87C3_9A8A4A260532__INCLUDED_)