MMCN_DESELECT_ALL message
The MMCN_DESELECT_ALL notification message is sent to the virtual list view when all items of an owner-data result pane are deselected.
Parameters
-
lpDataObject
-
NULL.
-
arg
-
Zero.
-
param
-
Zero.
Return value
-
S_OK
-
The snap-in successfully handled the notification.
-
S_FALSE
-
The snap-in does not handle the notification. MMC then performs a default operation for the notification.
Remarks
When all the items in a virtual list are deselected, MMC sends an MMCN_DESELECT_ALL notification rather than an MMCN_SELECT that identifies all the deselected items. MMCN_DESELECT_ALL is not sent for standard (non-virtual) lists.
For snap-ins that have a custom result pane (OCX or web), MMC sends an MMCN_SELECT or MMCN_DESELECT_ALL notification with a special data object (DOBJ_CUSTOMOCX or DOBJ_CUSTOMWEB) when the result pane is selected or deselected. The notification is sent to the snap-in's IExtendControlbar::ControlbarNotify and IComponent::Notify method. The only way for snap-ins to identify the corresponding scope item is to use the cookie (of the scope item) cached during MMCN_SHOW.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|