One of my applications has a Windows Explorer like file list control. When the user right clicks on a file I can successfully show the Explorer context menu (with some extra options of my own). However if the user right clicks on the list control itself (no items selected), then I'm unable to show the 'correct' context menu. I'd like to show the one you see in Windows Explorer on the right side rather then the one in the tree on the left side.
I've tried a bunch of variations in my calls to GetUIObjectOf, I surfed the Google web, etc, but I haven't found a solution yet. Any help?