Vcl.Forms.TSetLayeredWindowAttributes

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef bool __stdcall (*TSetLayeredWindowAttributes)(NativeUInt Hwnd, unsigned crKey, System::Byte bAlpha, unsigned dwFlags);

Properties

Type Visibility Source Unit Parent
typedef public Vcl.Forms.hpp Vcl.Forms Vcl.Forms

Description

Function used to set the layered window's attributes.

TSetLayeredWindowAttributes is a function that is used to set the attributes of the layered window. For example, it can be used to set the transparency of a form.


Parameter Meaning

Hwnd

Represents the handle to the layered window.

crKey

Represents the color key.

bAlpha

Represents the value for the blend function.

dwFlags

Specifies the action to take (for example, to make a window transparent, you can use LWA_ALPHA).


See Also