Window Always On Top?

  • Thread starter Thread starter Joe Duchtel
  • Start date Start date
J

Joe Duchtel

Hello -

I was wondering how I could make an application to always stay on top
of other windows similar to the Taskmanager? I tried to find a
property that lets me do that in Visual Studio 2008 but could not find
anything. Is there some API call I need to make?

Thanks,
Joe
 
Hello Joe,

I think you didn't look very much for it.

Dim f As Form1
f.TopMost=True

Simple, isn't it?

Best regards,

Martin
 
Hello -

I apologize! I just realized that I probably sent this to the wrong
forum. The application is using MFC and not .NET. I found the
SetWindowPos(wndTopMost) but it is not working ... so I'll try another
forum ...

Joe
 
Back
Top