views:

26

answers:

1

I need a method that will make my form move to the top when other forms do not want them to.

I am not talking about myForm.BringToFront or myForm.TopMost.

I am hoping that there is a P/Invoke that I can do to get into the OS and say, "This Form On Top, NO MATTER WHAT".

The reason I am needing this is that I have an app that is occasionally going behind my Device Management app. The way that app is configured is such that it cannot be minimized.

Any help would be ... helpful.

+1  A: 

P/Invoke SetWindowsPos with HWND_TOPMOST.

ctacke
Thanks for the answer ctacke. That is what I was looking for.
Vaccano