ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Event 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
HandleParentNext (Function)
In french: HandleParentSuivant
Forces the parent of the next window to open. This function must be used just before Open.
This function allows a WINDEV window:
  • to be child of another application.
  • to be child of a non-WINDEV window.
Caution: This is an advanced function.
Example
// Opening code of the application project
ParentHandle is system int = CommandLine("HPARENT")
IF ParentHandle <> 0 THEN
Trace(ParentHandle)
HandleParentNext(ParentHandle)
END
Open(WIN_Window1)
EndProgram()
 
// Code of the caller
Parent is system int = Handle("")
ExeRun("MyApplication.exe" + " " + "/HPARENT=" + Parent)
Syntax
HandleParentNext(<Window handle>)
<Window handle>: Integer
Handle of the parent window to use.
Remarks
Reminder: The handle of a window is returned by Handle or SysWinHandle.
Component: wd290obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help