How to customize the context menu in a shell namespace extension?

Answered How to customize the context menu in a shell namespace extension?

  • Friday, June 15, 2012 6:33 PM
     
     

    Within a shell namespace extension I want to customize the context menu that pops up when I right click on a folder or file. I do not think I want to create a system wide context menu handler for a type of file. I want to customize the context menu only within my namespace extension. How to do that?

    thanks,

All Replies

  • Saturday, June 16, 2012 4:36 AM
     
     Answered

    >I want to customize the context menu only within my namespace extension

    If the files in pdtobj or folder in pidlFolder passed in do not belong to your namespace extension, return a failure value from your IShellExtInit::Initialize implementation.



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP