|
|
|
|
|
WinOptimize (Function) In french: FenOptimise Changes the mode used to create and draw windows. All windows opened after calling this function will use the new mode. This function makes it easier to open and draw windows containing a large number of controls. WinOptimize(woWithoutHandle)
Open(WIN_Home)
Syntax
<Result> = WinOptimize(<Mode>)
<Result>: Integer constant Old mode used by the windows: | | woDirect2D | Windows use Direct 2D at runtime. This mode is not available in this version.. | woWithHandle | Windows use handles at runtime. | woWithoutHandle | Windows do not use handles at runtime. |
<Mode>: Integer New mode used to create and draw windows: | | woDirect2D | Optimized mode: Windows use Direct 2D at runtime. In this case, the graphics card draws the window and its controls. This mode is not available in this version.. | woWithHandle | Default mode: Windows use handles at runtime. In this mode, the processor is responsible for displaying and drawing windows and their controls. There can be no more than 1000 handles simultaneously. | woWithoutHandle | Optimized mode: In this mode, the processor is responsible for displaying the windows and their controls. A single handle is created for the window and its controls. This constant eliminates the limitation related to the number of handles. Caution: This mode is not compatible with certain WLanguage functions, such as Handle. |
Remarks Activation in the editor You can also activate these optimization options in the window editor. Simply open the "Modifier" pane, expand the "Details" group, select "Optimizations" and choose the desired option. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|