CHtmlView::OnCommandStateChange

This member function is called by the framework to notify an application that the enabled state of a web browser command has changed.

virtual void OnCommandStateChange( 
   long nCommand, 
   BOOL bEnable  
);

Parameters

  • nCommand
    Identifier of the command whose enabled state has changed.

  • bEnable
    Enabled state. This parameter is nonzero if the command is enabled, or zero if it is disabled.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

CHtmlView::GetReadyState