L_LTCON_API L_INT L_ContainerSetOwner(pContainer, hWndOwner)
Sets the window that owns the container.
Pointer to a container handle.
Handle of the window to set as the owner of the container.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Required DLLs and Libraries
This example will set a new owner to the container.
L_INT ContainerSetOwnerExample(pCONTAINERHANDLE pContainer,
nRet = L_ContainerIsValid ( pContainer );
if (SUCCESS == nRet ) /* check the validity of container handle */
/* Set the window new owner window */
nRet = L_ContainerSetOwner ( pContainer, hwndNewOwner );