??? Internet Explorer ????? ?????? ?????? ???? ????? ??? GetHostInfo

?????? ????????? ?????? ?????????
???? ???????: 328803 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ???? ????? ?????? ???????? ????? IDocHostUIHandler::GetHostInfo ?? ????? ???? ?????? ???? ???? ?????? ?????, ?? ???? ????? ???? ??????? ???????? ??? ?? ?????? ?? ????? ??????.

?????

MSHTML ?????? ???? ??????? ???????? ???????? ?????? ?? ??? ????? ??? ????? ???? ????? ???? ???.

????

????? ????? ???? ????? ?? Microsoft. ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ???????. ????? ??? ??????? ?????? ??? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? ?? ????? ???????? ???? ????? ??? ??? ??????? ??????.

?? ???? ????? ??????? ?????? ???? ??? "???? ????? ??????? ????" ???? ????? ????? ??????? ??? ???. ??? ?? ???? ??? ?????? ???? Microsoft ???? ??????? ?????? ?????? ??? ??????? ??????.

?????? ???? ?????? ?????? ?? ?? ?? ???? ?????? ??? ??????? ??????? ???????? ?? ???? ????? ????? ??? ???? ?????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ??????? ?????? ????????. ?????? ????? ????? ?????? ????? Microsoft ???? ??????? ?????? ?????? ????? ?? ?????? ??? ???? ????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ???? ????? "???? ????? ??????? ??????" ?????? ???? ????? ??????? ??????. ??? ?? ????? ????? ?????? ??? ???? ??? ???? ?? ????? ????? ???? ???? ?????.

????? ????? ?????????? ?? ??? ??????? ???? ????? (?? ??????) ???????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ???????? ??????? coordinated (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
   Date      Time     Version       Size       File name
   -------------------------------------------------------
   03-Oct-02 13:14    6.0.2722.300  2,763,264  Mshtml.dll
				

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft Internet Explorer 6.

??????? ????

???? ??? ??????? ??? ??? ????? MSHTML. ???? ???? ??? ??? ??? ???? ????? ??? MSHTML (??? ????? Microsoft Word ?? ?? ??? ??? ?? ??????? ????? ?????? ?????) ? ????? ??????? ???? ???? ???? ???? ??? HTML MSHTML reinitializes ???? ??????? ???????? ?? ?? ??? ????? ?? ????? IDocHostUIHandler::GetHostInfo.

????? ????? ????? ???????

  1. ?? Visual Studio .NET ? ????? Foundation Microsoft ??????? CHtmlView ????? ????? ????? (SDI) ???? (MFC).
  2. ????? ????? ??? ??? ??? ????? ????? ???? ?????? ???? ??????? ???????? ??????:
    class CMFCTestView : public CHtmlView
    {
    ...
    	LPWSTR m_pZoom;
    ...
    };
    
  3. ????? ????? ????? ??? ???? ??????? ?????? ???? ????? ?? ??????:
    CMFCTestView::CMFCTestView()
    {
    	m_pZoom = L"BODY{Zoom:200%;}";
    }
    
  4. ????? ?????? ??????? OnGetHostInfoCHtmlView ?????? ????????? ???????? ????? ???? ??????? ???????? ???? ????? GetHostInfo. ??? ????? ?? CHtmlControlSiteIDocHostUIHandler::GetHostInfo ??? ???????? ??????? ???? ??????? OnGetHostInfo ?? ????? ?????.
    // header file
    class CMFCTestView : public CHtmlView
    {
    ...
    virtual HRESULT OnGetHostInfo(DOCHOSTUIINFO *pInfo);
    ...
    };
    
    // implementation file
    HRESULT CMFCTestView::OnGetHostInfo(DOCHOSTUIINFO *pInfo)
    {
    	pInfo->pchHostCss = (LPWSTR)::CoTaskMemAlloc((lstrlenW(m_pZoom)+1)*2);
    	lstrcpyW(pInfo->pchHostCss, m_pZoom);
    	return S_OK;
    }
  5. ????? ????? ?????? ?????? ????? ?? ??? CHTMLView ?????? ???. ?? ????? ??????? ??????? ??????? IWebBrowser2::Refresh(). IWebBrowser2::Refresh() ??? ????? ???? ????? ?????? ????? ??? ???? ??? ??????.
    void CMFCTestView::OnActionTest()
    {
    	m_pZoom = L"BODY{Zoom:50%;}";
    	m_pBrowserApp->Refresh();
    }
    
  6. ????? ????? OnInitialUpdate ????? ????? ??????? ??? ???? ?????? HTML:
    void CMFCTestView::OnInitialUpdate()
    {
    	CHtmlView::OnInitialUpdate();
    	Navigate2(_T("http://myserver/mytestpage.htm"),NULL,NULL);
    }
  7. ?????? ??????? ???????. ????? ??? ??? ?????? ?????? ? ?? ??? ???? ???????? ?????? 200 ???????.
  8. ?????? ??????? ??????? ???? ??? ???????? ??? ????? ??? ????. ???? ??????? ?????? ?????? ?????? ???? ??????? ???? ??? ??. ??? ????? ??????? ?????? ?????? ????? ????? ?? ??????? 50 ???????.

???????

???? ???????: 328803 - ????? ??? ??????: 14/???? ??????/1435 - ??????: 1.5
????? ???
  • Microsoft Internet Explorer (Programming) 6.0
????? ??????: 
kbnosurvey kbarchive kbmt kbautohotfix kbhotfixserver kbqfe kbwebbrowser kbhtml kbie600sp2fix kbie600presp2fix kbfix kbbug KB328803 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????328803

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com