PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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 required version
  • Version 14
Comments
Click [Add] to post a comment