27 lines
783 B
C
27 lines
783 B
C
|
////////////////////////////////////////////////////////////////
|
|||
|
// ˵<><CBB5>: <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD>ڲ<EFBFBD><DAB2><EFBFBD>ʾHTML<4D><4C>ҳ
|
|||
|
// <20><><EFBFBD>ߣ<EFBFBD><DFA3><EFBFBD><EFBFBD><EFBFBD>(airen3339@163.com)
|
|||
|
// <20><><EFBFBD>ڣ<EFBFBD>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)
|
|||
|
};
|
|||
|
|