ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Windows Event functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Warning: This function is for advanced use only..
Example
// Code d'ouverture de projet de l'application
HandleParent is system int = LigneCommande("HPARENT")
IF HandleParent <> 0 THEN
	Trace(HandleParent)
	HandleParentNext(HandleParent)
END
Open(FEN_Fenêtre1)
EndProgram()

// Code de l'appelant
Parent is system int = Handle("")
ExeRun("MonApplication.exe" + " " + "/HPARENT=" + Parent)
Syntax
HandleParentNext(<Window handle>)
<Window handle>: Integer
Handle of the parent window to use.
Remarks
Reminder: The window handle can be retrieved using functions Handle or SysWinHandle.
Component: wd300obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help