Window Always On Top?

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
 
M

Martin H.

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
 
J

Joe Duchtel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top