Thanks a lot Cryogenic for this response !! It help me a lot !
For those who search the equivalent in VB.NET here it is :
Declare Auto Function SetForegroundWindow Lib "user32" (ByVal hwnd As IntPtr) As Integer
Private Sub OnShown(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Shown
SetForegroundWindow(Me.Handle)
End Sub
[.net] ShowDialog window hiding behind other windows...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement