Nevron.Interop.Win32 Namespace / NGdi32 Class / SetBkColor Method


In This Topic
    SetBkColor Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function SetBkColor( _
       ByVal hDC As System.IntPtr, _
       ByVal colorRef As System.UInteger _
    ) As System.UInteger
    'Usage
     
    
    Dim hDC As System.IntPtr
    Dim colorRef As System.UInteger
    Dim value As System.UInteger
     
    value = NGdi32.SetBkColor(hDC, colorRef)
    public static System.uint SetBkColor( 
       System.IntPtr hDC,
       System.uint colorRef
    )

    Parameters

    hDC
    colorRef
    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