Click or drag to resize

Window.SetStyle Method (Typed)

X#
Set the styles for the window.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetStyle(
	dwSetStyle AS LONG,
	 lEnable AS LOGIC
) AS LONG
Request Example View Source

Parameters

dwSetStyle
Type: Long
The X# style constant or Windows API style constant to set.
lEnable
Type: Logic
Logical value indicating whether the style should be enabled (TRUE) or disabled(FALSE). If omitted, the default is TRUE.

Return Value

Type: Long

Return Value

Type: Long
The new Style of the window (calculated by taking the existing style and enableing or disabling the passed style value).
See Also