locked
Hooking Solution Explorer node expansion. RRS feed

  • Question

  • We have an MPF custom project and would like to take an action when a node is expanded.  A first attempt at intercepting the SetProperty call for VSHPROPID_Expanded doesn't work, as that value never seems to be set by the shell.

    Thanks very much in advance.


    Kirk Fertitta

    Saturday, March 28, 2015 12:32 AM

Answers

All replies

  • Hi Kirk,

    Please see this thread which is about almost the same question. The solution by Ed Dore should be helpful to you:

    https://social.msdn.microsoft.com/forums/vstudio/en-US/14670c4d-a50e-4c51-aef8-4bbf5b6a0fd0/usage-of-vscommands2kexpandchildren


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Caillen Monday, April 6, 2015 5:33 AM
    Monday, March 30, 2015 3:23 AM
  • Yes, that is exactly the same questions and they seem to have run into the same issue we did in that the Expanded property is never called by the shell.  I searched a bit before posting, but missed that thread.  Thanks for pointing it out and sorry for not finding it.


    Kirk Fertitta

    Monday, March 30, 2015 1:17 PM