|
-
Nov 8th, 2000, 09:55 AM
#1
Thread Starter
New Member
I would like to know if there is a way to disable the mouse and keyboard from within VB while a certain process runs, and then enable them again once complete. This must be system wide so the mouse and keyboard cannot bring focus to another application or anything.
Any help with this would be greatly appreciated since I have no idea of how to do this (or if it is possible).
Thanks in Advance
-
Nov 8th, 2000, 01:52 PM
#2
Frenzied Member
hmmm I'm sorry but I don't think that's possible in VB, because you need a system-wide hook, you can always fake it with some apicalls but not sure how to do that.
So get yourself on C(++) and try to develop a DLL that does the job and reference it in VB.
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Nov 8th, 2000, 01:54 PM
#3
Junior Member
Megatron knows how to do it. I saw him post sometime a while back.
-
Nov 8th, 2000, 01:56 PM
#4
Hyperactive Member
Not sure if you can do this anymore, but back in the day you could open forms (or was it programs?) as system modal - sort of like a dialog box with attitude. No keyboard or mouse events would get processed outside of the form (program?) until it was closed.
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
|