View Poll Results: how can we know about content in window extra memry of any window?
- Voters
- 1. You may not vote on this poll
-
MSDN
-
Forum
-
Third party code snippet
-
Other
-
April 18th, 2011, 07:56 AM
#1
extra window memory
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.
-
April 18th, 2011, 10:09 AM
#2
Re: extra window memory
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.
Best regards,
Igor
-
April 20th, 2011, 02:07 AM
#3
Re: extra window memory
Originally Posted by Igor Vartanov
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.
Thanks for giving me direction.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|