ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
  • Configuration of the end-user computers
  • Equivalence
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WinInactiveEffect (Function)
In french: FenEffetInactif
Warning
From version 17 (76), this feature is no longer available.
Enables or disables the DDW (Dim Disabled Window) feature:
  • for a specific window.
  • for all the application windows. In this case, windows set up with WinInactiveEffect will be ignored.
The DDW feature is used to automatically dim disabled windows. For more details, see Dim disabled windows.
Example
// -- Code de clic du bouton "BTN_Valider"
// Activation du GFI de la fenêtre "FEN_SaisieClient"
WinInactiveEffect(FEN_SaisieClient, True)
// Ouverture d'une boîte de dialogue
Dialog("Voulez-vous enregistrer les modifications ?")
// Tant que la boîte de dialogue est affichée, 
// la fenêtre "FEN_SaisieClient" est grisée
// -- Initialisation du projet
// Désactivation du GFI de toutes les fenêtres de l'application
WinInactiveEffect(False)
Syntax

Enabling or disabling the DDW feature for a specific window Hide the details

<Result> = WinInactiveEffect(<Window used> , <DDW activation>)
<Result>: Boolean
Previous DDW status:
  • True: GFI was activated on the specified window.
  • False GFI was not activated on the specified window.
<Window used>: Window name
Name or alias of the window to be used. This window must be opened.
<DDW activation>: Boolean
New DDW status:
  • True: GFI is activated on the specified window.
  • False GFI is not activated on the specified window.

Enabling or disabling the DDW feature for all the application windows Hide the details

<Result> = WinInactiveEffect(<DDW activation> [, <Rate of gray>])
<Result>: Boolean
Previous DDW status:
  • True: GFI was enabled on application windows.
  • False GFI was not activated on the application windows.
<DDW activation>: Boolean
New DDW status:
  • True: GFI is enabled on application windows.
  • False GFI is not enabled on application windows.
<Rate of gray>: Optional integer
Rate of gray that will be applied (between 0 and 100). The rate of gray is set to 25 by default.
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, ...
If a problem occurs, ask the end users to update the driver of their video card.
Note To operate, the end-user workstation must:
  • have a display mode greater than 256 colors.
  • be in 32-bit or 64-bit mode.
  • run on Windows Vista or later.
  • use the maximum level of "Hardware acceleration" for the video card (advanced display properties of the computer).

Equivalence

The display of the DDW feature can also be configured by WinDisableEffect.
Component: wd170obj.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help