Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


Notifies the host that the command state has changed.

virtual HRESULT OnUpdateUI( );

S_OK if successful, or an OLE-defined error code otherwise.

The host should update the state of toolbar buttons. This method is called regardless of the return value from ShowUI. Override OnUpdateUI to react to the UpdateUI notification from the Microsoft Web Browser control.

© 2015 Microsoft