00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(AFX_WNDHOME_H__9BECD60C_B412_4687_B4AE_9086BAA8EC34__INCLUDED_)
00023 #define AFX_WNDHOME_H__9BECD60C_B412_4687_B4AE_9086BAA8EC34__INCLUDED_
00024
00025 #pragma once
00026
00027 #include "WndPanel.h"
00028 #include "CtrlHomeView.h"
00029 #include "CtrlHomePanel.h"
00030
00031 class CRichDocument;
00032 class CRichElement;
00033
00034
00035 class CHomeWnd : public CPanelWnd
00036 {
00037
00038 public:
00039 CHomeWnd();
00040 virtual ~CHomeWnd();
00041
00042 DECLARE_DYNCREATE(CHomeWnd)
00043
00044
00045 public:
00046 CHomeViewCtrl m_wndView;
00047 CHomePanel m_wndPanel;
00048
00049
00050 public:
00051 virtual void OnSkinChange();
00052
00053
00054 public:
00055
00056
00057
00058
00059 protected:
00060
00061 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00062 afx_msg void OnSize(UINT nType, int cx, int cy);
00063 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
00064 afx_msg void OnTimer(UINT nIDEvent);
00065 afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
00066 afx_msg void OnClickView(RVN_ELEMENTEVENT* pNotify, LRESULT *pResult);
00067 afx_msg void OnPaint();
00068
00069
00070 DECLARE_MESSAGE_MAP()
00071
00072 };
00073
00074
00075
00076 #endif // !defined(AFX_WNDHOME_H__9BECD60C_B412_4687_B4AE_9086BAA8EC34__INCLUDED_)