Visual Basic (Declaration) | |
---|---|
<DllImportAttribute("user32.dll")> <PreserveSigAttribute()> Public Shared Function BringWindowToTop( _ ByVal handle As IntPtr _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim handle As IntPtr Dim value As Boolean value = CommonMethods.BringWindowToTop(handle) |
C# | |
---|---|
[DllImport("user32.dll")] [PreserveSig()] public static bool BringWindowToTop( IntPtr handle ) |
C++/CLI | |
---|---|
[DllImport("user32.dll")] [PreserveSig()] public: static bool BringWindowToTop( IntPtr handle ) |
Parameters
- handle
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