BringWindowToTop (user32)
Last changed: -94.228.21.206

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern bool BringWindowToTop(IntPtr hWnd);

VB Signature:

<DllImport("user32.dll", SetLastError:=True)> _
Private Shared Function BringWindowToTop(ByVal hwnd As IntPtr) As Boolean
End Function

User-Defined Types:

None.

Notes:

This does not work if the form.controlbox property is set to false (won't work if there isn't a titlebar)

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation