|
-
Sep 4th, 2006, 12:43 PM
#1
Thread Starter
Lively Member
[2.0] Catch Windows explorer event?
Hello
Is there any way I can hook a user clicking a drive in My Computer, and when they do instead of opening the drive it opens my app.
I think that way would be easier then putting an icon off my app in my computer? Or no?
Thanks for any help.
-
Sep 4th, 2006, 01:48 PM
#2
Re: [2.0] Catch Windows explorer event?
Probably not worth the effort. This would be tough to make work on the new OS's and the older OS's at the same time.
What effect were you hoping to achieve? It may be easier to hook FS calls than GUI events.
I don't live here any more.
-
Sep 4th, 2006, 01:54 PM
#3
Thread Starter
Lively Member
Re: [2.0] Catch Windows explorer event?
 Originally Posted by wossname
Probably not worth the effort. This would be tough to make work on the new OS's and the older OS's at the same time.
What effect were you hoping to achieve? It may be easier to hook FS calls than GUI events.
I wanted to add an icon to my computer. That the user would click on and it would open a file explorer.
But, yea, I figured adding the icon would be hard.
Hopefully someone know's a way it can be done though.
-
Sep 4th, 2006, 02:56 PM
#4
Re: [2.0] Catch Windows explorer event?
Yes its possible, but is not a trivial piece of code you can just grab off some website.
I don't live here any more.
-
Sep 4th, 2006, 04:17 PM
#5
Thread Starter
Lively Member
Re: [2.0] Catch Windows explorer event?
 Originally Posted by wossname
Yes its possible, but is not a trivial piece of code you can just grab off some website.
Really? I searched google hard, and found nothing.
-
Sep 4th, 2006, 06:49 PM
#6
Re: [2.0] Catch Windows explorer event?
He said it's NOT a trival piece of code you can just grab off a Web site. The usual way to accomplish something like this would be to add a shell extension so the user can right-click a drive and select a menu option to use your app to explore it. I don't pretend to know how to do that but that would be the "proper" way to do it.
-
Sep 4th, 2006, 08:40 PM
#7
Thread Starter
Lively Member
Re: [2.0] Catch Windows explorer event?
Oh, I mis read.
Here is how I may do it. My app will run in toolbar.
When you click on a drive in My computer it shows a window caption. Well, I think i will just keeping searching for that active wonow, and when found, kill it. then bring up my window.
It is sloppy, and lazy way out. But, the only way i know.
-
Sep 4th, 2006, 08:45 PM
#8
Re: [2.0] Catch Windows explorer event?
Like I said, you should create a shell extension. It's up to you but it's not hard to go to MSDN and search for "shell extension".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|