VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

You can use the WinWait function to wait until a window with a specific name has appeared, or use t

Anonymous  (267 Submissions)   Windows System Services   VB 6.0   Unknown Difficulty   Thu 2nd May 2002   Mon 8th February 2021

You can use the WinWait function to wait until a window with a specific name has appeared, or use the WinWaitNot function to wait until it is

API Declarations



Public bFound As Boolean
Public strWindowName As String

Public Const MAX_PATH = 260

Declare Function EnumWindows Lib "user32" (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
Declare Function GetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long
Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long
Declare Function SendMessageArray Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

Rate You can use the WinWait function to wait until a window with a specific name has appeared, or use t (3(3 Vote))
You can use the WinWait function to wait until a window with a specific name has appeared, or use t.bas

You can use the WinWait function to wait until a window with a specific name has appeared, or use t Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters