다음을 통해 공유


DWebBrowserEvents2::CommandStateChange (Windows Embedded CE 6.0)

1/6/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 exdisp.h
Library shdocvw.lib

See Also

Reference

DWebBrowserEvents2
CommandStateChangeConstants