Click to See Complete Forum and Search --> : Adding a menu item


Sivakumar
September 24th, 1999, 10:04 AM
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

bini
September 24th, 1999, 10:27 AM
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

Sivakumar
September 24th, 1999, 10:31 AM
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