Nevron .NET Vision
Nevron.Interop.Win32 Namespace / NUser32 Class / SetLayeredWindowAttributes Method


In This Topic
    SetLayeredWindowAttributes Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function SetLayeredWindowAttributes( _
       ByVal hWnd As System.IntPtr, _
       ByVal colorRef As System.Integer, _
       ByVal opacity As System.Byte, _
       ByVal attribute As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim hWnd As System.IntPtr
    Dim colorRef As System.Integer
    Dim opacity As System.Byte
    Dim attribute As System.Integer
    Dim value As System.Integer
     
    value = NUser32.SetLayeredWindowAttributes(hWnd, colorRef, opacity, attribute)
    public static System.int SetLayeredWindowAttributes( 
       System.IntPtr hWnd,
       System.int colorRef,
       System.byte opacity,
       System.int attribute
    )

    Parameters

    hWnd
    colorRef
    opacity
    attribute
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also