简体   繁体   中英

How to overload the Windows Explorer functionalities?

I want to catch the event of deletion, renaming or copying a file in Windows Explorer. For example, if a folder contains the files " test.a " and " test.b ", and that I remove " test.a ", then my program will remove the two (same for copy and rename).

I know how to add an entry to the context menu of Windows. But the goal isn't to add functionality to Windows. The goal is to redefine an existing function.

You could use hook for that. See this .

为此使用shell通知 API。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM