Silverfrost Logo About Us | Contact Us
 

SET_CLEARWIN_STYLE@

Platform

Win32(ClearWin+)

Purpose

Modifies the default styling controls for ClearWin (%cw) windows.

Syntax

INTEGER FUNCTION SET_CLEARWIN_STYLE@( NEWSTYLE )
INTEGER NEWSTYLE 

Description

The default style for a format window is (WS_OVERLAPPEDWINDOW + WS_HSCROLL + WS_VSCROLL). This can be changed to any valid combination of Windows styles contained in the windows.ins file so that any subsequent widows have a new style.

 

 

WS_OVERLAPPED

WS_POPUP

 

WS_CHILD 

WS_CLIPSIBLINGS

 

WS_CLIPCHILDREN

WS_VISIBLE

 

WS_DISABLED

WS_MINIMIZE

 

WS_MAXIMIZE

WS_CAPTION

 

WS_BORDER

WS_DLGFRAME

 

WS_VSCROLL

WS_HSCROLL

 

WS_SYSMENU

WS_THICKFRAME

 

WS_MINIMIZEBOX

WS_MAXIMIZEBOX

 

WS_GROUP

WS_TABSTOP

 

WS_OVERLAPPEDWINDOW

WS_POPUPWINDOW

 

WS_CHILDWINDOW

WS_EX_DLGMODALFRAME

 

 

WS_EX_NOPARENTNOTIFY


 

Return value

The previous settings are returned and should be stored if the effect you wish to generate is only temporary.

 

 

Copyright © 1999-2017 Silverfrost Limited