CHILDWINDOW property (GUI)
Description
Returns TRUE$ if the control is a "child window", i.e. it has the WS_CHILD style bit set.
Property Value
This property is a Boolean value. If object is a child window this property returns TRUE$, otherwise it returns FALSE$.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
Remarks
Only top-level forms (i.e. WINDOW objects that have the desktop as a “parent”) return FALSE$ for the property. All other objects will return TRUE$.
For more information on the WS_CHILD style please refer to the Window Styles documentation on the Microsoft website.
Example
//// Get the current UTF8 mode// IsChild = Get_Property( CtrlEntID, "CHILDWINDOW" )
See Also
PARENT property, PARENTFRAME property, STYLE property