D
D Witherspoon
I developed this module, examples on the internet seem to be much longer..
Can someone explain to me why my solution doesn't work?
Module modAPI
Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As
Long
Public Sub ActivateAppWindow()
SetForegroundWindow(fMain.Handle.ToInt32)
End Sub
End Module
Can someone explain to me why my solution doesn't work?
Module modAPI
Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As
Long
Public Sub ActivateAppWindow()
SetForegroundWindow(fMain.Handle.ToInt32)
End Sub
End Module