SetForegroundWindow Method
See Also 
SourceCode.Workflow.WizardFramework.Controls Namespace > K2InputWindow Class : SetForegroundWindow Method



hWnd

Glossary Item Box

Syntax

Visual Basic (Declaration)  
<DllImportAttribute("user32.dll")>
<PreserveSigAttribute()>
Public Shared Function SetForegroundWindow( _
   ByVal hWnd As HandleRef _
) As Boolean
Visual Basic (Usage) Copy Code
Dim hWnd As HandleRef
Dim value As Boolean
 
value = K2InputWindow.SetForegroundWindow(hWnd)
C#  
[DllImport("user32.dll")]
[PreserveSig()]
public static bool SetForegroundWindow( 
   HandleRef hWnd
)
C++/CLI  
[DllImport("user32.dll")]
[PreserveSig()]
public:
static bool SetForegroundWindow( 
   HandleRef hWnd
) 

Parameters

hWnd

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