Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Fluent Design: Blur the Window Background of Your VFP Forms (Windows 10 / 11) 1

Status
Not open for further replies.

StefanFoerner

Programmer
Mar 23, 2015
93
DE
Hi everyone,

Push Your VFP App to the next Level: Blur / Acrylic Blur - the VFP developer can use this free DLL WindowComposition.dll to blur every window background under Windows 10 and 11 !!!

Just like e.g. the left side of the Setting Windows or the Taskbar of Windows 10 / 11 !!!

The DLL WindowComposition.dll exports only one (!!!) function: WindowBackgroundBlur. This internally calls the function SetWindowCompositionAttribute of the Windows DLL User32.dll ((C++ source code attached, see: WindowComposition.cpp).

WindowBackgroundBlur_25_ugsqdf.jpg

- Screenshot 1: 3 VFP Forms with blurred background (in front of Windows Desktop):
WindowsFluentDesign_25_mybzgf.jpg

- Screenshot 2: 2 VFP Forms with blurred background (in front of a Google Search):
how it works:

1) set the Backcolor of Your Form to colorKey
2) make Your Form a Layered Window
3) set the colorKey of this Layered Window
4) call DLL Function WindowBackgroundBlur (calls Function SetWindowCompositionAttribute): Blur / Acrylic Blur :)

Description and VFP Code:
Download:
Regards, Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top