CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Location
    Jamaica
    Posts
    138

    Adding a menu item

    Hi,



    I am sure, you can help me with the following clarifications.

    Using Visual C++ 5.0 Compiler ( Using C++ SDK and not MFC)
    how do I do the following?


    Add a menu item when the user right clicks on a
    CD ROM drive (only) from Windows explorer.



    Looking forward for a solution from you at the earliest.

    Thanks and Regards

    Siva

    Programming is always a learning process

  2. #2
    Join Date
    Jul 1999
    Location
    Berks
    Posts
    23

    Re: Adding a menu item

    I think what you need to do is to write a 'context menu handler'. This will have to check the type of drive and display menu items for CD Roms but not normal drives.

    The context menu handler then has to be installed in the registry under
    HKEY_CLASSES_ROOT\Drive\Shell

    I don't think there is a seperate entry for CD ROMS, someone please correct me if there is one.

    There is lots of stuff about context menu handlers on MSDN wesite



  3. #3
    Join Date
    Sep 1999
    Location
    Jamaica
    Posts
    138

    Reply to Menu

    Hi,

    Thanks for your help.

    After attempting and going through the web site of MSDN I'll get back to you.

    Regards

    Siva


    Programming is always a learning process

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured