ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 you want to get.

Finding out the handle of a control Hide the details

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

Last update: 09/24/2024

Send a report | Local help