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
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 function 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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment