PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • How to proceed?
  • DDW for all the application windows
  • DDW on a specific window
  • Programming
  • DDW feature on the user computers
  • Configuration of the end-user computers
  • Menu options to configure the DDW
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
Your application opens several windows at the same time and you don't know which one to use?
The inactive windows can be automatically dimmed. This feature allows you to always know which window to use.
This feature is called DDW, which stands for Dim Disabled Windows.
For example:
You modify the information regarding a customer and you click the
You modify the information regarding a customer
and you click the "Validate" button.
A window asks you to confirm or cancel these modifications. The main window (in the background) is not accessible anymore. It is automatically dimmed. You immediately identify the window that must be used.
A window asks you to confirm or cancel these modifications.
The main window (in the background) is not accessible anymore.
It is automatically dimmed.
You immediately identify the window that must be used.
How to proceed?

DDW for all the application windows

By default, the DDW feature is enabled for all the application windows. When creating a new project, this option is checked by default.
To enable the DDW feature on all the application windows:
  1. Display the description window of the project ("Project .. Project description"). Display the description window of the project: on the "Project" pane, in the "Project" group, click "Description".
  2. In the "Advanced" tab, select "Enable the DDW feature (Dim Disabled Windows) to dim the windows when they are inactive".
  3. Validate.
Notes:
  • If the option "Enable the DDW feature (Dim Disabled windows) to dim the windows when they are inactive" is unchecked at project level, the DDW feature will be disabled at run time even for the windows whose corresponding option is checked.
  • If the option "Enable the DDW feature (Dim Disabled windows) to dim the windows when they are inactive" is checked at project level, the DDW feature will be enabled at run time even for all the windows (excluding the windows whose corresponding option is unchecked).

DDW on a specific window

By default, the DDW feature is enabled for all the application windows. When creating a new window, the DDW feature is enabled for this window.
To enable the DDW feature on a specific window:
  1. Open the window for which the DDW feature must be enabled.
  2. Display the "GUI" tab of the window description ("Description" from the popup menu).
  3. Select "Dim the window when it becomes inaccessible (D.D.W.)" and validate.
Note: This feature can be enabled or disabled:
  • by the end user via "Gray the window if it is inactive (DDW)" from the popup menu of the window.
  • by programming with WinActivateDDW.

Programming

By default, the DDW feature is enabled for all the application windows.
Several WLanguage functions can be used to configure the DDW feature in an application:
Versions 21 and later
AAFDisable
New in version 21
AAFDisable
AAFDisable / DisableAAF
Associated with the aafRateDDW constant, disables the ability for the end user to modify the level of DDW. The corresponding menu options are not displayed anymore and [CTRL][ALT][+] or [CTRL][ALT][-] do not operate anymore.
WinActivateDDWEnables or disables the DDW feature
WinDisableEffectDisables the visual effects of the graphic engine of WINDEV. This function allows an application to be run on a computer with limited graphic capabilities or to be run in TSE mode if the bandwidth is limited. The DDW feature can be disabled by the effectDDW constant.
WinInactiveEffectEnables or disables the DDW feature.
Versions 17 and later
WinForceDDW
New in version 17
WinForceDDW
WinForceDDW
Forces the DDW feature on a window even if this window is not inaccessible.
WinRateDDWUsed to find out and modify the level of gray for the windows to which the DDW feature is applied.
DDW feature on the user computers

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, ...
If a problem occurs, ask the end users to update the driver of their video card.
Note: 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).
WINDEV

Menu options to configure the DDW

Several options allow the users to configure the DDW feature. These options are displayed in the popup menu of the window (right mouse click on the window background).
These options are as follows:
  • Dim the window if it is inactive (DDW): This option is used to gray (or not) the inactive windows. This option is valid for the current window only.
  • Increase DDW rate: This option is used to display a progress bar indicating the current rate of gray for the inactive windows. To increase this level, press [CTRL][ALT][+]. This rate of gray will be valid for the entire application.
  • Reduce DDW rate: This option is used to display a progress bar indicating the current rate of gray for the inactive windows. To reduce this level, press [CTRL][ALT][-]. This rate of gray will be valid for the entire application.
To avoid displaying the progress bar, press [ESC] or [ENTER].
Note: To prevent the user from modifying the rate of DDW, use DisableAAF associated with the aafRateDDW constant.Note: To prevent the user from modifying the rate of DDW, use AAFDisable (or DisableAAF) associated with the aafRateDDW constant.

Limit

The HTML, Xaml, Cube, Carousel (.Net version) and ActiveX controls are not dimmed by the DDW feature.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment