开发者

Mouse Listener ,detect File Mouse Over in Explorer

开发者 https://www.devze.com 2023-03-11 11:16 出处:网络
Im working on a Project which Handles with File information\'s ,like Tool-tips File Attributes etc. So my question is can i integrate and does anyone yet ,a Mouse Listener if Mouse is Over a File in W

Im working on a Project which Handles with File information's ,like Tool-tips File Attributes etc. So my question is can i integrate and does anyone yet ,a Mouse Listener if Mouse is Over a File in Windows Explorer or Desktop ,so in that way i can Show a tool-tip and handle with other Fu开发者_如何转开发nction's.

PS: I need the FileName (Full Path with File Name) which Mose is Over on it.


http://www.ghacks.net/2008/02/10/customize-windows-explorer-tooltips/ lists a way of changing the tooltips when mousing over a file.
If you want to do anything more advanced like running a custom program on mouseover then you'll probably need to look at either rethinking why you need to do it (suggested), or doing something ugly with hooking mouse messages using e.g. http://msdn.microsoft.com/en-us/library/ms644988(v=vs.85).aspx

0

精彩评论

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

关注公众号