Skip to content

Window_Style - DfBaseWindow

Sets the window style for the Windows object

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Parameters

Parameter Type Description
iStyleMask Integer Window style mask

Syntax

Property Boolean Window_Style
Access Type Syntax
Read Access: Get Window_Style to BooleanVariable
Write Access: Set Window_Style to BooleanVariable/Value

Description

Window_Style sets the window style for the Windows object. This directly sets attributes of the Windows object.

StyleMask is the window style or styles. Passing True or False, respectively, determines if the style is being added or removed.

The style masks available are determined and defined and by the Windows API. Knowledge of the Windows API is required to use this message. This is a very low-level interface message. It bypasses the DataFlex object interface and communicates directly with the Windows object.

Set Window_Style CBS_SORT to True  // combo form control
Get Window_Style CBS_SORT to SortedFlag