|
-
Sep 25th, 2000, 08:56 AM
#1
Thread Starter
Junior Member
Hi,
I want to get a window handle with the FindWindow api, but the function always returns 0.
This is my code :
Private Sub Command1_Click()
Dim WindowHwnd as Long
WindowHwnd = FindWindow("#32770 (Dialog)", CLng(0)) ' it's the ie download window class name
If WindowHwnd = 0 Then
Label1.Caption = "Il n'y a pas de D/L en cours"
Else
Label1.Caption = "Il y a un D/L en cours"
End If
End Sub
Thanks
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
|