Vcl.Forms.TSetLayeredWindowAttributes
Delphi
TSetLayeredWindowAttributes = function (Hwnd: THandle; crKey: COLORREF;
bAlpha: Byte; dwFlags: DWORD): Boolean; {$IFNDEF CLR}stdcall;{$ENDIF}
C++
typedef bool __stdcall (*TSetLayeredWindowAttributes)(NativeUInt Hwnd, unsigned crKey, System::Byte bAlpha, unsigned dwFlags);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | Vcl.Forms |
説明
レイヤード ウィンドウの属性を設定するのに使用される関数です。
TSetLayeredWindowAttributes は、レイヤード ウィンドウの属性を設定するのに使用される関数です。たとえば、フォームの透明度を設定するのに、これを使用できます。
パラメータ | 意味 |
---|---|
Hwnd |
レイヤード ウィンドウのハンドルを表します。 |
crKey |
カラー キーを表します。 |
bAlpha |
ブレンド機能の値を表します。 |
dwFlags |
実行するアクションを指定します(たとえば、ウィンドウを透明にするには |