|
wince 中使用CHtmlView的时候报错
[复制链接]
- #include
- 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);
- // override to trap "app:" pseudo protocol
- virtual void OnBeforeNavigate2( LPCTSTR lpszURL,
- DWORD nFlags,
- LPCTSTR lpszTargetFrameName,
- CByteArray& baPostedData,
- LPCTSTR lpszHeaders,
- BOOL* pbCancel );
- // override to handle links to "app:mumble...". lpszWhere will be "mumble"
- virtual void OnAppCmd(LPCTSTR lpszWhere);
- DECLARE_MESSAGE_MAP();
- DECLARE_DYNAMIC(CHtmlCtrl)
- };
复制代码
报错信息\VC\ce\atlmfc\include\afxhtml.h(15) : fatal error C1189: #error : HTML classes not supported in this library variant.
|
|