INFO: MMC: MMCN_SELECT Is Not Sent to IComponentData

ID: Q183488

The information in this article applies to:

SUMMARY

Even though the Microsoft Management Console (MMC) documentation and header files say that the MMCN_SELECT notification can be handled by IComponentData::Notify(), MMCN_SELECT notification is never received.

MORE INFORMATION

The MMCN_SELECT notification should always be handled by IComponent::Notify() for both the Scope Pane and Result Pane. This behavior is by design. There is no way to tell which Result Pane window had an item selected because there might be several Result Pane views open at a time.

A pointer to IDataObject is passed with the MMCN_SELECT notification. You can use this to extract the selected object to determine if it is a Scope Pane or Result Pane object. Examples of how to do this are available in the MMC samples (that is, steps 1 through 4) included with the platform SDK.

Additional query words:

Keywords          : kbMMC 
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbinfo

Last Reviewed: April 7, 1998