Show / Hide Table of Contents

Method SetWindowOpacity

| Edit this page View Source

SetWindowOpacity(nint, byte)

Sets the opacity of a layered window.

Declaration
public static void SetWindowOpacity(nint hWnd, byte alpha)
Parameters
Type Name Description
nint hWnd

Window handle

byte alpha

Alpha value used to describe the opacity of the layered window. When alpha is 0, the window is completely transparent. When alpha is 255, the window is opaque.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX