Platform |
Win32, x64 |
Purpose |
To instruct ClearWin+ to modify the settings for DPI awareness available in Windows 8.1 and above. |
Syntax |
INTEGER SETDPIAWARENESS@(VALUE) |
Description |
ClearWin+ now makes use of the "DPI awareness" features first available with Windows 8.1. This means that, where possible, ClearWin+ will take advantage of the Windows API features designed to handle high DPI display settings which otherwise can lead to clipped text and blurry images. This means that, where possible, ClearWin+ now makes the call "SetProcessDpiAwareness(Process_System_DPI_Aware)" in its initialisation process. Programmers who need to use values other than Process_System_DPI_Aware (which has the value 1) can do so via this function. VALUE should take one of the following:
The Windows API function SETDPIAWARENESS@ is only effective on its first call so a call to SETDPIAWARENESS@ must be placed before any other calls to the ClearWin+ library. |
Return value |
0 - success |
Notes |
Added to FTN95 at version 7.10 |