Print Page | Close Window

Task Dialog under other window

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=22269
Printed Date: 23 November 2024 at 4:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Task Dialog under other window
Posted By: nick.brandwood
Subject: Task Dialog under other window
Date Posted: 04 April 2014 at 1:33pm
Hi all,
 
We have a problem with the Task Dialog in that we want it to replace the msgbox, however its behavior is not exactly the same.
 
The problem is that while the TASK DIALOG will not allow its parent window to cover it, any other window from the same application can. (this test was made with v.16.3.1)
 
Example
 
1. Create an instance of a Form.
2. The Form opens the Task dialog.
--> The instance of the Form that opens the dialog cannot receive focus and will not cover the dialog, this is as expected.
 
1. Create an instance of Form. (call it FormA)
2. Create another instance of Form. (call it FormB)
3. If FormA opens the Task dialog, FormB can receive focus and cover the dialog.
4. If FormB open the Task dialog, FormA can receive focus and cover the dialog.
 
IN the below screenshot we can see a form that has created a task dialog, and a form that is partially covering the dialog. Note that the form covering the dialog has focus.
 
 
If you do the same test with a MSGBOX, you will see that while the MSGBOX is open, no forms from the same EXE can cover the dialog.
 
The test below is on a Server 2003, though I believe the problem affects other versions of windows too.
 
Please let me know if I have been clear, and if there is a solution to this problem.
 
Looking forward to a reply,
 
Nick Brandwood



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net