The information in this article applies to:
SUMMARYIn Windows Explorer, you can have a program create a custom Find utility for the Start Menu. For an example, look at how The Microsoft Network adds a custom Find "On the Microsoft Network..." option to Windows 95 when the user signs up on The Microsoft Network. MORE INFORMATION
The first step to registering a custom Find utility is to implement a shell
context menu extension that supplies the menu item. The handler's
IContextMenu::InvokeCommand() member will be called whenever the user
selects the custom Find utility on the Start Menu.
Under this key, your program needs to add a key, such as MyFind, for the
context menu extension that contains the GUID for the context menu handler.
Under MyFind, your program needs to create a second key "0" that contains
the text of the menu item you want to include. Finally, under the "0" key,
you need to create a third key "DefaultIcon" that contains the name of a
.dll file that contains the icon you want displayed on the menu and the
index of the icon in that .dll file.
To summarize, you need to add the following under the ..\FindExtensions\Static key in the registry:
The context menu handler must also be registered normally as documented in
the Win32 SDK.
REFERENCESYou can find information on writing context menu handlers in:
Additional query words:
Keywords : kbContMenu kbExtension kbNTOS400 kbWinOS95 kbWinOS98 kbshell |
Last Reviewed: January 6, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |