API Calls (ViP Specific)
At 24 OCT 1997 06:25:01AM Mike Edkins wrote:
In Version 1.1 we used the following API calls
declare function FindWindow lib "user" (byVal lpClassName as String, byVal lpWindowName as Any) as integer
declare function ShowWindow lib "user" (Wind as Integer,show as Integer) as integer
I don't seem to be able to get these to work in 32bit
Can anyone help
Thanks
At 24 OCT 1997 09:35AM Stephen Bellefontaine Revelation wrote:
Hello Mike,
Declare Function ShowWindow& Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow _
As Long)
- Controls the visibility of a window.
hwnd (Long) Handle of the window on which to apply the command specified by nCmdShow.
nCmdShow (Long) Specifies a visibility command for the window. Use one of the SW (ShowWindow) constants:
It returns a Long … TRUE (nonzero) if window was previously visible. FALSE (zero) otherwise.
Declare Function FindWindow& Lib "user32" Alias "FindWindowA" (ByVal _
lpClassName As String, ByVal lpWindowName As String)
- Finds the first top level window in the window list that meets the specified conditions.
lpClassName (String) Pointer to string containing the name of the class for the window, or zero to accept any class.
lpWindowName (String) Pointer to string containing the window text (or title), or zero to accept any window title.
It returns a Long … Handle of the window found. Zero if no window was found.
Hope this helps,
ViP Tech Support