ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
  • Configuration of the end-user computers
  • Dimming rate
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<Window>.EnableDDW (Function)
In french: <Fenêtre>.ActiveGFI
Warning
From version 2024, Window.ActivateDDW is kept for backward compatibility. This function has been replaced with <Window>.EnableDDW.
The DDW feature is used to automatically dim disabled windows. For more details, see Dim disabled windows.
Example
// -- Click code of "BTN_Validate"
// Enable the DDW feature for the "WIN_EditCustomer" window
WIN_EditCustomer.EnableDDW(True)
// Open a dialog box
Dialog("Save changes?")
// As long as the dialog box is displayed,
// the "WIN_EditCustomer" window is dimmed.
Syntax
<Result> = <Window>.EnableDDW(<DDW activation>)
<Result>: Boolean
Previous DDW status:
  • True: the DDW feature was enabled for the specified window.
  • False: the DDW feature was not enabled for the specified window.
<Window>: Control name
Name or alias of the window to be used. This window must be opened.
<DDW activation>: Boolean
New DDW status:
  • True: the DDW feature is enabled for the specified window.
  • False: the DDW feature is not enabled for the specified window.
Remarks

Configuration of the end-user computers

Depending on the configuration of the end-user computers, the DDW feature may have no effect.
Indeed, the DDW feature is affected by the characteristics of the video card, the speed of the processor, etc.
If a problem occurs, ask the end users to update the driver of their video card.
Remark: To operate, the end-user computers must:
  • have a display mode greater than 256 colors.
  • be in 32-bit or 64-bit mode.
  • be running Windows 2000 or later.
  • use the maximum level of "Hardware acceleration" for the video card (advanced display properties of the computer).

Dimming rate

The default dimming rate on the windows is set to 18 %. To change this rate, use WinRateDDW.
Component: wd290obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/31/2023

Send a report | Local help