MMC snap-in development problems

I know this is probably not the right forum but I am not sure where else to post
this question. As part of our FSD with have developed a Microsoft Management
Console snap-in for administration of the file system and hardware. We are
having tremendous problems successfully implementing refresh for the nodes/lists
displayed in the scope and result panes. I have the following questions. If
anyone out there can answer them I would be most grateful. If not if anyone
could point me to the appropriate forum I was also be highly appreciative.

  1. We have enabled the refresh verb in our snap-in, and are receiving the
    MMC_VIEW_CHANGE message, but have not managed an effective way to accomplish
    actual refresh. All internal node classes are being updated properly and
    maintain the correct lists of child nodes, but this is not being translated to
    the actual displayed nodes. In our implementation, each node manages its own
    children, and does its own population of child nodes. All means we have used to
    attempt to accomplish translation of this data to actually be displayed have
    failed. This includes deleting all items in the lists and then rebuilding them
    from scratch. What are the possible pitfalls here? What is the best way to
    translate the internal node structure to the display for both scope and result
    panes?

  2. Operations which modify existing nodes are in fact reflected in the display
    when we modify their display properties. Why is it that when we modify an
    existing node we see our changes, but when, through IConsoleNamespace2, we
    modify the nodes displayed, we do not?

  3. Why are nodes added/removed through IConsoleNamespace2 not reflected in the
    MMC display? .

Obviously there is something that we are not doing in order to get the console
to recognize that the nodes and lists have been updated but from the
documentation we have we can not determine what that is.

As background information we are using Visual C++ 6.0. We have the MMC
development kit from Microsoft press and have used the sample code from the SDK.
We did not use the snap-in wizard from the MFC.

The latest MSDN magazine has an article about adding MMC snapins…

-----Original Message-----
From: xxxxx@pegasus-ofs.com [mailto:xxxxx@pegasus-ofs.com]
Sent: Friday, November 03, 2000 12:01 PM
To: File Systems Developers
Subject: [ntfsd] MMC snap-in development problems

I know this is probably not the right forum but I am not sure where else to
post
this question. As part of our FSD with have developed a Microsoft Management
Console snap-in for administration of the file system and hardware. We are
having tremendous problems successfully implementing refresh for the
nodes/lists
displayed in the scope and result panes. I have the following questions. If
anyone out there can answer them I would be most grateful. If not if anyone
could point me to the appropriate forum I was also be highly appreciative.

  1. We have enabled the refresh verb in our snap-in, and are receiving the
    MMC_VIEW_CHANGE message, but have not managed an effective way to accomplish
    actual refresh. All internal node classes are being updated properly and
    maintain the correct lists of child nodes, but this is not being translated
    to
    the actual displayed nodes. In our implementation, each node manages its own
    children, and does its own population of child nodes. All means we have used
    to
    attempt to accomplish translation of this data to actually be displayed have
    failed. This includes deleting all items in the lists and then rebuilding
    them
    from scratch. What are the possible pitfalls here? What is the best way to
    translate the internal node structure to the display for both scope and
    result
    panes?

  2. Operations which modify existing nodes are in fact reflected in the
    display
    when we modify their display properties. Why is it that when we modify an
    existing node we see our changes, but when, through IConsoleNamespace2, we
    modify the nodes displayed, we do not?

  3. Why are nodes added/removed through IConsoleNamespace2 not reflected in
    the
    MMC display? .

Obviously there is something that we are not doing in order to get the
console
to recognize that the nodes and lists have been updated but from the
documentation we have we can not determine what that is.

As background information we are using Visual C++ 6.0. We have the MMC
development kit from Microsoft press and have used the sample code from the
SDK.
We did not use the snap-in wizard from the MFC.


You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)