Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Task Panel
  New Posts New Posts RSS Feed - task panel display bleeds thru
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

task panel display bleeds thru

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: task panel display bleeds thru
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.