Home | Sign in | English EN
  • Handle of a window
  • Operating mode in GO mode and at runtime
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
Returns the handle of a window identified by its title. This window was not created by WINDEV.
Remark: To find out the handle of a WINDEV window, use Handle.
// 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")
<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.

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 runtime

In GO mode (simulation on the development computer), the window must be found on the development computer.
At runtime, 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.
Component: wd260std.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment