Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3243450
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:26:01+00:00 2026-05-17T18:26:01+00:00

My application pops up a custom dialog whenever new items are found in an

  • 0

My application pops up a custom dialog whenever new items are found in an RSS feed, the custom dialog starts off the bottom of the screen, raises up, pauses, and then drops back down.

I want the dialog to be on top of other windows (because the notices are important to me), so I set the TopMost property on the form to true. Problem is it is also on top of the task bar (which I don’t want).

Is there a way to make the dialog be on top of other windows, but not the task bar?

(Please don’t discuss whether or not I should do this. This is a custom application for my use only, and that is the way I want it to work. I have also added a setting to turn this functionality on/off, in case I don’t want it to work like that anymore.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:26:02+00:00Added an answer on May 17, 2026 at 6:26 pm

    The reason this is not going to work is because you don’t know whether the top most window you want the popup to be over is going to be above or below the taskbar. Most of the time, an actual top most window will lie over the taskbar. You can’t have a window underneath the taskbar and above the other window if the other window is already over the taskbar.

    You can fiddle a little bit with SetWindowPos and see whether you maybe get a result you like, but this will get very difficult.

    See http://msdn.microsoft.com/en-us/library/ms633545(VS.85).aspx for how SetWindowPos() works and http://www.pinvoke.net/default.aspx/user32.setwindowpos and http://www.pinvoke.net/default.aspx/Constants.SWP for how you can call this function from WinForms.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My application starts with a welcome screen Activity, but that screen has an option
I wonder if I might disable the keychain dialog that pops up whenever my
We have an application that downloads some files in the background. Our application pops
The web client of our application makes use of xforms. A message box pops
I have an old application witch pops up an error at a certain location.
I have a label which pops up displaying points in my application. I am
I'm updating an older iPhone application, and the usual 'Base SDK Missing' pops up.
I have an application ,running full screen, top most, and i want it so
I am working on a dockless application ( LSUIElement true). The application pops up
I am working on an application which pops up a JOptionPane when a certain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.