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

  • SEARCH
  • Home
  • 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 8049523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:48:30+00:00 2026-06-05T06:48:30+00:00

I am developing a UI program in C# WPF .NET3.5. In my main window,

  • 0

I am developing a UI program in C# WPF .NET3.5. In my main window, I have a button. When the user clicks on this button it creates a modeless dialog. Changing the focus back to main window and clicking the button again creates another modeless dialog. The sequence of dialogs is as below:

M -> C1 -> C2 -> C3

where M is the main window, C1, C2 and C3 are child windows in the order. C1 is modeless (created using Window.Show() method with Owner property not set) and C2 and C3 are modal (created using Window.ShowDialog() method with Owner property set). What I expect is that user should be able to create multiple C1, C2 and C3 dialogs from M.

My problem is as follows. If I create 2 C1 dialogs, everything works fine. I can perform all UI operations in M and the two C1 dialogs. However, once C2 and C3 dialogs are created from one C1 dialog, I cannot perform any UI operations in another C1 dialog and M dialog. I can however perform UI operations in C3 dialog.

C2 dialog contains a progress bar which is updated using DispatcherTimer. After the operations in progress are completed, C3 dialog is launched from event handler of DispatcherTimer.

I thank you in advance for your valuable support.

  • 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-06-05T06:48:31+00:00Added an answer on June 5, 2026 at 6:48 am

    You will need to find another way to set C2 and C3 to be always on top, outside of using modal dialogs.

    From MSDN:

    A modal form or dialog box must be closed or hidden before you can
    continue working with the rest of the application.

    Try setting the TopMost property of C2 and C3 to true and use Window.Show() instead of Window.ShowDialog().

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

Sidebar

Related Questions

I am developing program on window's using msys and mingw. I want to have
I have a WPF program that I'm developing in which I want to catch
I am currently developing a program that uses C#'s Dictionary container (specifically, SortedDictionary). This
I am developing a program where I find myself doing this like this a
I am currently developing my program using sample BluetoothChat program on android device. This
I am developing a program in VB.NET. I have an enum called PriceType that
I am developing a program, that uses Core Text... And I have a leak
I'm developing a program that searches for a running program and press a button
At first when developing my program I got this error the other way around;
I am developing a program in C# .net 3.5 wpf. It has to work

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.