Moving a Window to the Foreground
:
Return to List
' The hWnd value is the handle of the Window -- must have acquired
Declare Function SetForegroundWindow Lib "user32" Alias "SetForegroundWindow" _
(ByVal hwnd as Long) as Long
Public Sub SetForeground(hWnd as Long)
SetForegroundWindow hWnd
End Sub
Note to Webmaster