Whenever a user selects one or more files or folders in windows explorer and right click to cut or copy the selected objects,
i have to disable pop up menu's cut and and copy options for particular type of files(i.e for file having .doc extension , pop up menu should not display cut or copy options).


Ya, i know that i have to process WM_INITMENUPOPUP message.
but how could i know what is currently selected in Window explorer application.

I don't know ,what window-extra-memory of windows explorer does contain?

from where i can get list of objects selected so as i can correctly process WM_INITMENUPOPUP ?

Can any one give me guidance?

Thanks in Advance.