PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Handle of a window
  • 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
Returns the handle of a window identified by its title. This window was not created by WINDEV.
Note: To find out the handle of a WINDEV window, use Handle.
Example
// Find out the handle of the "Sales 2011 - Microsoft Word.DOC" window
ResWinHandle is int
ResWinHandle = SysWinHandle("Sales 2011 - Microsoft Word.DOC")

IF ResWinHandle = Null THEN Trace("Window not found")
Syntax
<Result> = SysWinHandle(<Window Title>)
<Result>: Integer
  • Handle of the specified window.
  • Null constant or 0 if the window was not found.
<Window Title>: Character string (with quotes)
Title of the window to use. This parameter must be identical to the title displayed in the title bar of the window.
Remarks

Handle of a window

SysWinShow, SysWinTitle and SysValidHandle use the handle number of the windows that were not created by WINDEV.
To handle the windows created by WINDEV, we recommend that you use the following functions: Restores, Maximize, WinStatus, Iconize, ...
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:
WD Jump lists Training (WINDEV): WD Jump lists
[ + ] JumpList in Windows 7

A JumpList is a menu accessible from the Start menu or from the application icon in the taskbar.
It is used to display the documents recently or frequently opened by the application. It is also used to display the specific tasks.

This example handles images and some operations are directly accessible from the JumpList.
Components
WINDEVReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment