ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
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
Handle (External language)
In french: Handle
Returns the handle of a window or control.
Example
// In C
// Find out the handle of the IMAGE1 control
CALLWD("Handle,IMAGE1");
HandNum=WdInt
// In Pascal
(* Find out the handle of the IMAGE1 control *)
CALLWD('Handle,IMAGE1');
HandNum:=WdInt
// In VB
' Find out the handle of the IMAGE1 control
call CALLWD("Handle,IMAGE1")
HandNum=WdInt
Syntax

Finding out the handle of a window Hide the details

Handle(<Name of the window>)
<Name of the window>: Character string
Name of the window whose handle is requested.

Finding out the handle of a control Hide the details

Handle(<Control name> [, <Subscript>])
<Control name>: Character string
Name of the control whose handle is requested.
<Subscript>: Character string (optional)
Subscript of the subscripted control whose handle is requested.
Remarks
  • The handle number is returned in WdInt and in WdString.
  • For the tables, no subscript can be specified.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help