Solved

Shell Extension with Property Sheet

Posted on 1997-03-21
1
237 Views
Last Modified: 2013-11-20
I am looking for a way on how to write a shell extension
that provides ONLY property sheet to the selected
file extension. For example, for files with extension
.BMP and .GIF, I want to give a special property sheet when
user right click the item on explorer. The ShellExt example
in VC++ seems want us to 'override' everything - program
association, icons and stuff. Please give some detail.
0
Comment
Question by:syed_dgreat
1 Comment
 
LVL 2

Accepted Solution

by:
sapek earned 100 total points
ID: 1300201
You can just remove IContextMenu, IExtractIcon, ICopyHook interaces and base your extension on what is left. Remove the interfaces from list of base classes for you extension class, remove their members from the class and remove their implementation. I'm not sure what IPersistFile is for in the extension (maybe you can also remove it). Remember also to remove the interfaces from QueryInterface function.

Adam
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now