Making my application appear TopMost

Posted on 2006-05-14
Last Modified: 2010-04-23
I am not sure how to make sure that the window in my application shows up on top of any other window or application that is running at the time.

What is the best way to do this?
Question by:lgropper
    LVL 44

    Accepted Solution

    Hi lgropper,

    you could use the TopMost property but the problem is it will be overlapped when any other aplication is using TopMost also, there is a solution posted using a timer and SetWindowPos to achieve a window that seems like its on top all of the time

    hope this helps a bit

    Author Comment


    I had pretty much exactly the same thing, but it was from an example for VB6 and I obviously made an error in rewriting it for  Thanks a lot!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now