> why I cannot inherit from CView??????
> class CCHtmlModView : public CView
[quoted text clipped - 4 lines]
> {
> CView::OnInitialUpdate();
}
> // TODO: ?????????/?????
> Navigate2(_T("https://signup.live.com/newuser.aspx?mkt=ZH-CN&ts=4354482&sh=rKPn&ru=http%3a%2f%
2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com%2fmail%2foptions
&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL);}chtmlmodview.cpp(106)
> : error C3861: 'Navigate2': identifier not found
but everything is ok in another programwhy???
class CCHtmlMod2View : public CHtmlView{..........}
void CCHtmlMod2View::OnInitialUpdate()
{ CHtmlView::OnInitialUpdate();
Navigate2(_T("https://signup.live.com/newuser.aspx?mkt=ZH-CN&ts=4354482&sh=rKPn&ru=http%3a%2f%
2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com%2fmail%2foptions
&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL);
}
SvenC - 14 Apr 2008 12:49 GMT
Hi zhang
> why I cannot inherit from CView??????
>...
> but everything is ok in another programwhy???
> class CCHtmlMod2View : public CHtmlView{..........}
Because CView has no Navigate2 member while
CHtmlView has that member.
--
SvenC
zhang - 14 Apr 2008 13:33 GMT
Thank you very much
"SvenC" <SvenC@nospam.nospam>
??????:1586E6E2-F3DE-4C28-A25D-B4073981D1F4@microsoft.com...
> Hi zhang
>
[quoted text clipped - 8 lines]
> --
> SvenC