Print Page | Close Window

task panel display bleeds thru

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=8049
Printed Date: 09 May 2024 at 8:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: task panel display bleeds thru
Posted By: rdhd
Subject: task panel display bleeds thru
Date Posted: 17 September 2007 at 1:47pm
We have a number of windows in a set of docking panes. One of our windows is of class CXTPDialogBar and it has a task panel. Since all of these are can be docked together, tabs allow the user to select which one he user wants to see (nice codejock magic runs all that).
 
So far so good. Except when the user selects a pane tab that is not the one containing the task panel.
 
The problem I am having is that when anything changes in the task panel, even though it is not the active pane (not on "top" and the user can only see the tab), the task panel displays right up on top of the active pane. The taskpanel is not made active so any redisplay corrects the problem.
 
For instance, I can grab and resize the docking window and whatever page was on top redisplays and the result is once again correct. Of course even though the user "sees" the task panel when the display is incorrect, it appears "dead" since it is not at the top of the z-order and the mouse events go to the correct window.
 
I would note that my CXTPDialogBar has a dialog box and a task panel and even when I modify the dialog box it too displays above everything. So I think this is not a direct task panel issue but perhaps a CXTPDialogBar issue. Also the other docking panes contain CPropertyPages and they do not show this behavior.
 
At first I thought parenting my CXTPDialogBar to the frame window was the issue but then I realize that I went thru the XTP command bars Add method to create my dialog (Create is private in XTP Dialog bar). So I don't have control over the parent. In any case, I have tried both ways (by casting to CWnd when calling Create) with no difference in behavior.
 
I pretty much took this structure from one of the samples, including how to create the dialog bar containing the task panel. The difference between my code and the samples is that I have more than one docking pane docked.



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