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 647693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:45:01+00:00 2026-05-13T21:45:01+00:00

I have a plugin that is loaded by this application.. This plugin calls some

  • 0

I have a plugin that is loaded by this application.. This plugin calls some dialog boxes with DoModal().

I’m expecting these dialog boxes to function like this: If I click on the application window behind the dialog box, the dialog box flashes and does not allow the application to be in focus.

However, in one of the other dialog boxes, called with DoModal(), if I click on the application window, it doesn’t do the flashing thing, and after a while the application’s close/minimize buttons become active (well, just the color). They’re not really active and the window turns somewhat white and the title bar says (Not Responding)… What could possibly be wrong and how do I fix it? I’ve tried setting the dialog box’s properties to System Modal: True, and Set Foreground: True but it doesn’t seem to work.. 🙁

Thanks..

EDIT: I’d like to note that the in the Windows taskbar, there is only one entry for the application for the correct behavior, but when the dialog box with the incorrect behavior is launched, another “window” is launched.. So it looks like (Application)(Dialog box title).. The effect I’m trying to achieve is just (Application)..

EDIT2: The dialog box is indeed still working, even with the main app UI locked.. This dialog box also spawns another dialog box with DoModal(), and when it does, another entry is added to the taskbar, i.e. (Application)(Dialog Box1)(Dialog Box2). I am able to move Dialog Box2 around and click on Dialog Box1 and mess with it and nothing is locking.. Just that main app.. However I would like it if Dialog Box2 didn’t allow Dialog Box1 to be manipulated if Dialog Box2 was open..

  • 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-13T21:45:01+00:00Added an answer on May 13, 2026 at 9:45 pm

    The previous poster had it right (although he deleted his answer).. I moved the function that spawned the dialog boxes to run in the application’s thread and it worked..

    However, is there a way to do this from another thread? By designating the parent window perhaps?

    Thanks..

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

Sidebar

Ask A Question

Stats

  • Questions 371k
  • Answers 371k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You cannot "delete" items from an IEnumerable or IQueryable. What… May 14, 2026 at 7:03 pm
  • Editorial Team
    Editorial Team added an answer You've misunderstood what a ViewResolver is for. They're not there… May 14, 2026 at 7:03 pm
  • Editorial Team
    Editorial Team added an answer Visit history is merely a collection of visits in the… May 14, 2026 at 7:02 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.