ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
  • Window handle
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SysValidHandle (Function)
In french: SysHandleValide
Checks the validity of a window handle.
Remark: A handle is not valid anymore if the corresponding window was closed for example.
Example
// Validity of handle for the "Microsoft Word - Sales 2000.DOC" window
ResHandle = SysWinHandle("Microsoft Word - Sales 2000.DOC")
ResValidHandle = SysValidHandle(ResHandle)
Syntax
<Result> = SysValidHandle(<Window handle>)
<Result>: Boolean
  • True if the specified handle is valid,
  • False otherwise.
<Window handle>: Integer
Handle of the window to test.
Remarks

Window handle

The window handle is returned:
Related Examples:
The Exe functions Unit examples (WINDEV): The Exe functions
[ + ] Using the functions for managing the memory processes of WINDEV (list of processes, consumed memory, list of DLLs used, location).
It can also be used to enable an application and to find out the list of opened windows as well as their handle.
Component: wd290std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help