root/trunk/OutputBarTab.h

Revision 5, 2.1 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 #if !defined(AFX_TABDOCKWND_H__50441327_74AB_4CA5_A8B5_23D870C9X__INCLUDED_)
2 #define AFX_TABDOCKWND_H__50441327_74AB_4CA5_A8B5_23D870C9X__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // TabDockWnd.h : header file
8 //
9
10 #include "scriptoutputdlg.h"
11
12 #include "findoutputbardlg.h"
13 #include "buildoutputbardlg.h"
14 #include "BuildReportDlg.h"
15 /////////////////////////////////////////////////////////////////////////////
16 // CTabDockWnd window
17
18 class COutputBarTab  : public CXTTabCtrlBar
19 {
20 // Construction
21 public:
22     COutputBarTab();
23
24 public:
25     void ClearBuildText()
26     {
27         m_buildSheet.m_buildEdit.SetWindowText("");
28
29     }
30     void AddBuildText(string text ) {
31        
32        
33         CString buffer;
34         m_buildSheet.m_buildEdit.GetWindowText(buffer);
35         string cur_text = buffer.GetBuffer(0);
36         cur_text += "\r\n" + text;
37        
38         m_buildSheet.m_buildEdit.SetWindowText(ReplaceCRandLF(cur_text).c_str() );
39        
40     }
41     CXTFlatTabCtrl  m_flatTabCtrl;
42     CBuildOutputBarDlg      m_buildSheet;
43     CFindOutputBarDlg       m_findSheet;
44     CScriptOutputDlg                m_webSheet;
45     CBuildReportDlg m_buildReport;
46     CImageList   m_imageList;
47 //  void FinishDragging(BOOL bDraggingImageList);
48 //  void OnEndDrag(UINT nFlags, CPoint point);
49    
50 // Overrides
51     // ClassWizard generated virtual function overrides
52     //{{AFX_VIRTUAL(COutputBarTab)
53     //}}AFX_VIRTUAL
54
55 // Implementation
56 public:
57     virtual ~COutputBarTab();
58 //  afx_msg void OnBegindragTree1(NMHDR* pNMHDR, LRESULT* pResult);
59 //  afx_msg void OnMouseMove(UINT nFlags, CPoint point);
60 //  afx_msg void OnCancelMode();
61 //  afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
62 //  afx_msg HCURSOR OnQueryDragIcon();
63     // Generated message map functions
64 protected:
65     //{{AFX_MSG(COutputBarTab)
66     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
67     //}}AFX_MSG
68     DECLARE_MESSAGE_MAP()
69 };
70
71 /////////////////////////////////////////////////////////////////////////////
72
73 //{{AFX_INSERT_LOCATION}}
74 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
75
76 #endif // !defined(AFX_TABDOCKWND_H__50441327_74AB_4CA5_A8B5_23D870C9E558__INCLUDED_)
Note: See TracBrowser for help on using the browser.