INFO: MMC: MMCN_SELECT Is Not Sent to IComponentData
Article ID: 183488
Article Last Modified on 1/15/2000
APPLIES TO
- Microsoft Management Console 1.0
This article was previously published under Q183488
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.
Keywords: kbinfo KB183488