Compartilhar via


DWebBrowserEvents2::CommandStateChange

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The CommandStateChange event method fires when the enabled state of a command changes.

Syntax

void CommandStateChange(
    long lCommand, 
    VARIANT_BOOL vbEnable
);

Parameters

  • vbEnable
    [in] Pointer to a VARIANT_BOOL value that specifies VARIANT_FALSE if the command is disabled and VARIANT_TRUE if the command is enabled.

Return Values

None.

Event DISPID

DISPID_COMMANDSTATECHANGE

The DISPID for this event is defined in piedocvw.h. Use this value to identify the event handler when implementing IDispatch::Invoke.

Requirements

Header piedocvw.h
Library piedocvw.lib
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

DWebBrowserEvents2
CommandStateChangeConstants