PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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(<Window name>)
<Window name>: 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