Tutorial for Windows Shell Extensions [closed]

旧时模样 提交于 2019-12-18 10:57:12

问题


I've been postponing this part of the project because I haven't found any particular helpful example/tutorial for these 2 aspects of Shell Extensions:

  1. Return information for the Hint when you hover over a file.
  2. Context pop-up menu with extension context, if it makes sense.

Cheers.


回答1:


Ah, you lucky boy. You get to read Mike Dunn's excellent series of tutorials:
The Complete Idiot's Guide to Writing Shell Extensions

Parts I and III should be of particular interest to you.




回答2:


Look at this CodeProject article:

Namespace extensions - the undocumented Windows Shell

This article explains how you can easily create a namespace extension with lots of features without doing lots of work by using some undocumented shell functions. The most noticeable function is SHCreateShellFolderViewEx, which creates the view for you and creates all interfaces you need for displaying the contents of your folder. You can modify the behaviour of the folder by implementing a callback function. This is how Microsoft implements its own namespace extensions.




回答3:


VB Shell Programming mostly concentrates on VB but the descriptions of the APIs are applicable to pretty much anything that speaks COM.



来源:https://stackoverflow.com/questions/140312/tutorial-for-windows-shell-extensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!