OSDN Git Service

merge original branch.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseGitBlame / MainFrm.h
1 \r
2 // MainFrm.h : interface of the CMainFrame class\r
3 //\r
4 \r
5 #pragma once\r
6 #include "OutputWnd.h"\r
7 #include "PropertiesWnd.h"\r
8 \r
9 class CMainFrame : public CFrameWndEx\r
10 {\r
11         \r
12 protected: // create from serialization only\r
13         CMainFrame();\r
14         DECLARE_DYNCREATE(CMainFrame)\r
15         virtual void OnUpdateFrameTitle(BOOL bAddToTitle)\r
16         {\r
17                 CFrameWndEx::OnUpdateFrameTitle( bAddToTitle);\r
18         };\r
19 // Attributes\r
20 public:\r
21 \r
22 // Operations\r
23 public:\r
24 \r
25 // Overrides\r
26 public:\r
27         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);\r
28         virtual BOOL LoadFrame(UINT nIDResource, DWORD dwDefaultStyle = WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, CWnd* pParentWnd = NULL, CCreateContext* pContext = NULL);\r
29 \r
30 // Implementation\r
31 public:\r
32         virtual ~CMainFrame();\r
33 #ifdef _DEBUG\r
34         virtual void AssertValid() const;\r
35         virtual void Dump(CDumpContext& dc) const;\r
36 #endif\r
37 \r
38         COutputWnd        m_wndOutput;\r
39         CPropertiesWnd    m_wndProperties;\r
40 protected:  // control bar embedded members\r
41         CMFCMenuBar       m_wndMenuBar;\r
42         CMFCToolBar       m_wndToolBar;\r
43         CMFCStatusBar     m_wndStatusBar;\r
44         CMFCToolBarImages m_UserImages;\r
45         \r
46 \r
47 \r
48 // Generated message map functions\r
49 protected:\r
50         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);\r
51         afx_msg void OnViewCustomize();\r
52         afx_msg LRESULT OnToolbarCreateNew(WPARAM wp, LPARAM lp);\r
53         afx_msg void OnApplicationLook(UINT id);\r
54         afx_msg void OnUpdateApplicationLook(CCmdUI* pCmdUI);\r
55         DECLARE_MESSAGE_MAP()\r
56 \r
57         BOOL CreateDockingWindows();\r
58         void SetDockingWindowIcons(BOOL bHiColorIcons);\r
59 };\r
60 \r
61 \r