Solved

Shell Extension with Property Sheet

Posted on 1997-03-21
1
248 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

679 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