|
-
Jun 11th, 2001, 01:00 PM
#1
Thread Starter
Hyperactive Member
more screen locking help
The following was the code the guy who responded earlier told me to use:
---------------------------------------------------------------------------------------------
Try using the LockWindowUpdate API function to lock all handles except your programs.
Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long
Usage
'Lock/Freeze: LockWindowUpdate hwnd
'Unlock/Unfreeze: LockWindowUpdate 0&
---------------------------------------------------------------------------------------------
That will most likly work but I do have one question... How do I get the handles of all the other programs running? I mean the user could have any number of programs running at the time he starts mine... how do I get all their handles so I can lock them and leave mine the only one that is able to be clicked? Thanks in advance. Later,
-zer0 flaw
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
|