00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00020
00025 #pragma once
00026
00027 #include "OutputView.h"
00028
00030
00031 class CMainFrame;
00032
00033 class CBuildOutputView : public COutputView
00034 {
00035 int m_Errors;
00036 int m_Warnings;
00037 CString m_sProject;
00038 public:
00039
00040 CMainFrame *m_pMainFrame;
00041
00042 BOOL PreTranslateMessage(MSG* pMsg);
00043
00044 BEGIN_MSG_MAP(COutputView)
00045
00046 MESSAGE_HANDLER(WM_CREATE, OnCreate)
00047
00048 MESSAGE_HANDLER(WM_LBUTTONDBLCLK, OnLButtonDoubleClick)
00049
00050 CHAIN_MSG_MAP_ALT(CRichEditCommands<COutputView>, 1)
00051 DEFAULT_REFLECTION_HANDLER()
00052
00053 END_MSG_MAP()
00054
00055 LRESULT OnCreate(UINT , WPARAM , LPARAM , BOOL& );
00056 LRESULT OnWriteMsg(UINT , WPARAM , LPARAM , BOOL& );
00057 LRESULT OnLButtonDoubleClick(UINT , WPARAM , LPARAM , BOOL& );
00058
00059 LRESULT OnKeyDown(UINT , WPARAM , LPARAM , BOOL& );
00060 LRESULT OnKeyUp(UINT , WPARAM , LPARAM , BOOL& );
00061
00062 void WriteMsg(LPCTSTR lpszNewText, CHARFORMAT2 *pcFmt=NULL);
00063 void BeginBuildMsg(LPCTSTR lpszProject);
00064 void EndBuildMsg();
00065 };