IComponent::Notify
[This is preliminary documentation and subject to change.]
Notifies the snap-in of actions taken by the user.
HRESULT Notify(
LPDATAOBJECT lpDataObject, // pointer to a data object
MMC_NOTIFY_TYPE event, // action taken by a user
long arg, // depends on event
long param // depends on event
);
Parameters
-
lpDataObject
-
[in] Pointer to the data object of the currently selected item.
-
event
-
[in] Identifies an action taken by a user. IComponent::Notify can receive the following notifications:
-
MMCN_ACTIVATE_slate_MMCN_ACTIVATE
-
MMCN_ADD_IMAGES_slate_MMCN_ADD_IMAGES
-
MMCN_BTN_CLICK_slate_MMCN_BTN_CLICK
-
MMCN_CLICK_slate_MMCN_CLICK
-
MMCN_DBLCLICK_slate_MMCN_DBLCLICK
-
MMCN_DELETE_slate_MMCN_DELETE
-
MMCN_EXPAND_slate_MMCN_EXPAND
-
MMCN_MINIMIZED_slate_MMCN_MINIMIZED
-
MMCN_PROPERTY_CHANGE_slate_MMCN_PROPERTY_CHANGE
-
MMCN_REMOVE_CHILDREN_slate_MMCN_REMOVE_CHILDREN
-
MMCN_RENAME_slate_MMCN_RENAME
-
MMCN_SELECT_slate_MMCN_SELECT
-
MMCN_SHOW_slate_MMCN_SHOW
-
MMCN_VIEW_CHANGE_slate_MMCN_VIEW_CHANGE
-
arg
-
Depends on the notification type.
-
param
-
Depends on the notification type.
Return Values
-
S_OK
-
Depends on the notification type.
-
E_UNEXPECTED
-
An unexpected error occurred.
Remarks
See individual notifications for detailed information.
See Also
IComponent, IComponentData, IConsole, IExtendControlbar::ControlbarNotify