27 lines
783 B
C++
27 lines
783 B
C++
////////////////////////////////////////////////////////////////
|
||
// 说明: 对话框内部显示HTML网页
|
||
// 作者:依星(airen3339@163.com)
|
||
// 日期:2005.12
|
||
//////////////////////////////////////////////////////////////////////
|
||
class CHtmlCtrl : public CHtmlView {
|
||
public:
|
||
CHtmlCtrl() { }
|
||
~CHtmlCtrl() { }
|
||
|
||
BOOL CreateFromStatic(UINT nID, CWnd* pParent);
|
||
|
||
// Normally, CHtmlView destroys itself in PostNcDestroy,
|
||
// but we don't want to do that for a control since a control
|
||
// is usually implemented as a stack object in a dialog.
|
||
//
|
||
virtual void PostNcDestroy() { }
|
||
|
||
// overrides to bypass MFC doc/view frame dependencies
|
||
afx_msg void OnDestroy();
|
||
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT msg);
|
||
|
||
DECLARE_MESSAGE_MAP();
|
||
DECLARE_DYNAMIC(CHtmlCtrl)
|
||
};
|
||
|