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


In This Topic
    EnableWindow Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function EnableWindow( _
       ByVal hwnd As System.IntPtr, _
       ByVal bEnable As System.Boolean _
    ) As System.Integer
    'Usage
     
    
    Dim hwnd As System.IntPtr
    Dim bEnable As System.Boolean
    Dim value As System.Integer
     
    value = NUser32.EnableWindow(hwnd, bEnable)
    public static System.int EnableWindow( 
       System.IntPtr hwnd,
       System.bool bEnable
    )

    Parameters

    hwnd
    bEnable
    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