PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Window Handle
  • Operating mode in GO mode and at run time
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SysValidHandle (Function)
In french: SysHandleValide
Checks the validity of a window handle.
Note: 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:
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), the window must be found on the development computer.
At run time, the window must be found on the Pocket PC.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
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 : wd250std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment