extra window memory
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

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

    0 0%
  • Forum

    0 0%
  • Third party code snippet

    1 100.00%
  • Other

    0 0%
Results 1 to 3 of 3

Thread: extra window memory

  1. #1
    Join Date
    Apr 2011
    Posts
    7

    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.

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,925

    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

  3. #3
    Join Date
    Apr 2011
    Posts
    7

    Re: extra window memory

    Quote Originally Posted by Igor Vartanov View Post
    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center