Also an idea of ​​half translucent form

zhaozj2021-02-08  222

In fact, it is very simple, there is any way to make a transparent form, I tried the capture screen, set the form brush property, and change three ways to make transparent forms through the Windows API function. Then add a shape on the form, extend it to full screen, set the Mode of the Shape to PMMASK, the style attribute of the Pen, which is psclean, then change the brush's Color property, you can perform transparent adjustment, not only Transparency can be changed and the overlay color can be changed. Enjoy the effects of DirectX generated.

In fact, use Delphi's Canvas class, which can be used in many graphics. After all, it is a small number of windows2000.

转载请注明原文地址:https://www.9cbs.com/read-2452.html

New Post(0)