PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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
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
// 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
Title of the window to use. This parameter must be identical to the title displayed in the title bar of the window.
Remarks

Window handle

SysWinShow, SysWinTitle and SysValidHandle use the handle of the windows that were not created by WINDEV.
To handle the windows created by WINDEV, we recommend that you use the following functions: Restore, 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