Window.SetStyle Method (Typed) | |
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
public virtual int SetStyle(
int dwSetStyle,
[DefaultParameterValueAttribute(true, 0)] bool lEnable
)
Request Example
View SourceParameters
- 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:
LongReturn Value
Type:
LongThe new Style of the window (calculated by taking the existing style and enableing or disabling the passed style value).
See Also