|
-
Feb 7th, 2000, 04:52 PM
#2
New Member
Might only need the GetForegroundWindow API.
API:
Declare Function GetForegroundWindow Lib "user32" Alias "GetForegroundWindow" () As Long
Code:
If GetForegroundWindow = Me.hWnd Then
'Your form has the focus
Else
'Your form doesn't have the focus
End If
Might be what you want, might not...
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
|