Yeah that is an annoying thing, to fix it call SetForegroundWindow API before showing the PopUp, just pass it the hwnd of the owner form or i guess just one from your app.