开发者

How do I get filename/file extension of a file on the Desktop in win7 which I drag?

开发者 https://www.devze.com 2023-03-25 06:40 出处:网络
I\'m working on a project which is a tiny tool running in the background. It only has a tas开发者_JS百科kbar icon most of the time.

I'm working on a project which is a tiny tool running in the background. It only has a tas开发者_JS百科kbar icon most of the time.

And it will record user mouse activities on the desktop(which is explorer.exe). Now I can get desktop mouse activities by making a DLL using c++ and use setWindowsHookEx() to set a global hook.

Question is, when people drag desktop icons and files on the desktop, when they dragging, how can I get the filename and extension of the file they are dragging?

0

精彩评论

暂无评论...
验证码 换一张
取 消