task panel display bleeds thru |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |