PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Handle of a window
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
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.
Example
// Connaître le numéro de handle de la fenêtre "Ventes 2011 - Microsoft Word.DOC"
ResHandleFen is int
ResHandleFen = SysWinHandle("Ventes 2011 - Microsoft Word.DOC")
 
IF ResHandleFen = Null THEN Trace("Fenêtre non trouvée")
Syntax
<Result> = SysWinHandle(<Window title>)
<Result>: entier
  • Handle of the specified window.
  • Null constant or 0 if the window was not found.
<Window title>: Character string
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

Functions SysWinShow, SysWinTitle and SysValidHandle use the handle number of windows that have not been created by WINDEV.
To handle the windows created by WINDEV, we recommend that you use the following functions: Restaure, Maximize, WinStatus, Iconize, ...
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: wd270std.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment