共用方式為


CHtmlEditCtrlBase::GetFrameZone

Returns the security zone of the current page in the web browser.

HRESULT GetFrameZone(
   short& nZone 
) const;

Parameters

  • nZone
    The security zone.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM_GETFRAMEZONE command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Concepts

CHtmlEditCtrlBase Class

CHtmlEditCtrlBase Members