IBrowserService2::OnCommand method

Deprecated. Calls the derived class from the base class on receipt of a WM_COMMAND message. The derived class handles the message.

Syntax

LRESULT OnCommand(
  WPARAM wParam,
  LPARAM lParam
);

Parameters

wParam

Type: WPARAM

Additional information taken from the WM_COMMAND message. The high-order word specifies the notification code if the message is from a control. If the message is from an accelerator, this value is 1. If the message is from a menu, this value is zero.

The low-order word specifies the identifier of the menu item, control, or accelerator.

lParam

Type: LPARAM

Additional information taken from the WM_COMMAND message. Handle to the control sending the message if the message is from a control. Otherwise, this parameter is NULL.

Return Value

Type: LRESULT

The return value specifies the result of the command processing; it depends on the command sent.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shdeprecated.h