Fires when there is a change in encryption level.
void SetSecureLockIcon( long SecureLockIcon );
- [in] A LONG that specifies one of the SecureLockIconConstants.
No return value.
The DISPID for this event is defined in exdispid.h. Use this value to identify the event handler when implementing IDispatch::Invoke.
This event fires when moving to a site that uses encryption and from a site that uses encryption. When moving between two sites that both use encryption, this event fires two times: one time to denote a movement away from a site using encryption, and a seond time to denote a movement to a site using encryption.
The browser's status bar displays a lock icon when encryption is present. Mousing over this icon invokes a ToolTip that indicates the level of encryption.
An application that hosts the WebBrowser Control can use this event to display a UI that shows the current encryption level.
Multiple levels of encryption can coexist in a single window in situations where there are multiple frames. If there are multiple levels of encryption present on a page, the SecureLockIcon has the value of secureLockIconMixed.
The encryption level on a page can be higher than the default level set in the browser, if the site is using a special type of certificate, for example, a Server Gated Cryptography certificate.