Sometimes calling BringToFront for your form is not enough to bring your app to the foreground. You can P/Invoke SetForegroundWindow which will activate your app and bring the window to the front of the Z-Order:-
C#public void SetForegroundWindow(){ this.Capture = true; IntPtr hwnd = OpenNETCF.Win32.Win32Window.GetCapture(); this.Capture = false; OpenNETCF.Win32.Win32Window.SetForegroundWindow(hwnd);}or VBPublic Sub SetForegroundWindow Me.Capture = True Dim hwnd As IntPtr = OpenNETCF.Win32.Win32Window.GetCapture() Me.Capture = False OpenNETCF.Win32.Win32Window.SetForegroundWindow(hwnd)End Sub
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.