DWebBrowserEvents2::CommandStateChange

Send Feedback

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

Syntax

void CommandStateChange(
long lCommand, 
VARIANT_BOOL vbEnable
);

Parameters

  • lCommand
    [in] CommandStateChangeConstants enumeration value that specifies the command that changed.
  • 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

Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later
Header: piedocvw.h
Library: piedocvw.lib

See Also

DWebBrowserEvents2 | CommandStateChangeConstants

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.