docs

Home Window Dimming functions Window Dimming

vuFTSetDimmingEnabled(Enabled)

vuFTSetDimmingEnabled(LONG), SIGNED, PROC, PASCAL, RAW

Description

Enable or disable visible window dimming at runtime. This function is exported by vuFT5.dll and declared by the vuFileTools global template.

Parameters

Parameter Data type Description
Enabled LONG 1 to enable, 0 to disable

Returns

The result is a signed LONG. Positive numbers indicate success or an accepted active state, 0 may indicate an inactive or unregistered state, and negative numbers indicate specific errors.

Example

Result = vuFTSetDimmingEnabled(0)

Notes

Runtime control is process-local. You can save the preference separately in your application’s settings.

See the Window Dimming guide, Window Dimming overview, and Troubleshooting. The EXE requires a Windows 8-or-later compatibility manifest.

Home Window Dimming functions Window Dimming

See Automatic Message Dimming for the global-template setup, or Custom Colored Message Procedures to import optional black, blue and red messages.