Skip to content

Window_Handle - DfComUIObject

Returns the Windows window handle of the DataFlex object

Type: Property
Access: Read-Only
Data Type: Handle
Parameters: None

Syntax

Property Handle Window_Handle
Access Type Syntax
Read Access: Get Window_Handle to HandleVariable

Description

The Window_handle property returns the Windows window handle of the DataFlex object.

When a DataFlex object is paged (as part of activation) it creates the required windows object. The window object is identified by its window_handle. When the DataFlex object is deactivated, the window object is destroyed and window_handle is reset to 0. Therefore a window handle (window_handle or container_handle) only exists if the DataFlex object is currently paged.