Mouse Listener ,detect File Mouse Over in Explorer
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
精彩评论