The information in this article applies to:
SUMMARYWhen hosting the WebBrowser control, it may be desirable to implement Forward and Back buttons similar to those that Internet Explorer implements. One common problem that programmers face when doing this is how to know when to enable and disable the buttons. MORE INFORMATIONThe WebBrowser control supports a CommandStateChange event, which is fired whenever the Forward or Back buttons need to be enabled or disabled. The CommandStateChange event is sent with two parameters: a constant indicating the type of button (CSC_NAVIGATEFORWARD or CSC_NAVIGATEBACK), and a Boolean flag indicating whether to enable or disable the button. CSC_NAVIGATEFORWARD and CSC_NAVIGATEBACK are defined in Exdisp.h, which comes with the Internet Client SDK.
Additional query words:
Keywords : kbusage kbIE300 kbIE500 AXSDKWebBrowser |
Last Reviewed: May 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |