CODCompPropSheet::OnCommand

BOOL CODCompPropSheet::OnCommand(WPARAM wParam, LPARAM lParam)

Processes command messages from controls (prior to being distributed amongst ON_COMMAND() handlers defined in message map). The CODCompPropSheet implementation uses this override to handle the IDOK, IDCANCEL, and ID_APPLY_NOW button command messages before they reach the CPropertySheet's ON_COMMAND() handlers).

Defined in: OdCompPropSheet.cpp

Return Value

Non-zero indicates the message was processed by the handler; otherwise 0.

Parameters

wParam

The low-order word of wParam identifies the command ID of the menu item or control. The high-order word of wParam specifies the notification message if the message is from a control. If the message is from an accelerator, the high-order word is 1. If the message is from a menu, the high-order word is 0.

lParam

Identifies the control that sends the message if the message is from a control. Otherwise, lParam is 0.