saad
saad

Reputation: 985

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.

Upvotes: 0

Views: 205

Answers (2)

Luke
Luke

Reputation: 11421

Use the shell notification APIs for this.

Upvotes: 0

LeleDumbo
LeleDumbo

Reputation: 9340

You could use hook for that. See this.

Upvotes: 1

Related Questions