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 ?
No, this has nothing to do with WM_INITMENUPOPUP. As well as window extra memory content. You have to create shell extension of Context menu handler type.
pDataObj is an IDataObject interface pointer through which we retrieve the names of the files being acted upon.
Last edited by Igor Vartanov; April 18th, 2011 at 10:11 AM.
No, this has nothing to do with WM_INITMENUPOPUP. As well as window extra memory content. You have to create shell extension of Context menu handler type.
Bookmarks