   windows question : invoking windows explorer context menu
  I want to invoke the windows explorer context menu(the one which appears when the users right clicks on one or more files from windows explorer) from a program, in other words, I''m showing some files to the user in a listview, when he selects some and right clicks, i want the context menu of windows explorer to appear, so that he can perform any of the ordinary windows operations on them.i''m aware of how to make a context menu and such basic information, so you don''t have to tell me about them.thanks very much   xee.. 
  If you have access to the underlying folder that the files you wish to display appear in, then you can use a IShellFolder::GetUIObjectOf() to acquire a IContextMenu interface for each file. You can then either use IContextMenu::QueryContextMenu() to merge the menu with an an existing context menu object or IContextMenu::GetCommandString() and IContextMenu::InvokeCommandString() to manually build your own context menu and dispatch the relevant messages. 