Print Page | Close Window

Floating pane sometimes behaves like modal window

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=12104
Printed Date: 25 April 2024 at 4:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Floating pane sometimes behaves like modal window
Posted By: tRainbow
Subject: Floating pane sometimes behaves like modal window
Date Posted: 08 September 2008 at 2:32pm
I have a couple of docking panels in my application window, each of the panels contains several docked panes. When one of the docked panes is moved to be a floating window, it sometimes behave like a modal window because every mouse click ends up in the SetFocus method of the CXTPDockingPaneMiniWnd class (if not override), which is the container class of a floating pane.

Anybody has a solution or any insights on this problem?



Replies:
Posted By: Oleg
Date Posted: 08 September 2008 at 3:18pm
Hello,
 
Have to be something in your code. Attach sample application that can reproduce problem and I will help you fix it.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: tRainbow
Date Posted: 09 September 2008 at 1:49pm
I modified the PaneSample in the XTreme Toolkit Pro for Visual Studio 2003 to reproduce the problem. Can you give me your email address so that I can send the compressed example to you, or let me know how to upload the sample project to the forum.
 
Thanks.


Posted By: tRainbow
Date Posted: 11 September 2008 at 5:31pm
Hi, Oleg and others:
 
I uploaded the sample project that I modified to reproduce the modal behavior problem with a floating pane.
 
The original sample project is the Smaples/DockingPane/PaneSample project, which came with the Xtreme ToolkitPro V11.1.3 for Visual Studio 2003 that I downloaded.
 
The modification that I did is to create a CDataViewPane that contains a CHtmlDataView (derived from CHtmlView and displaying the CodeJock support webpage), then attach the instance of the CDataViewPane to Pane 5 in the original example.
 
Steps to reproduce the modal behavior are:
1. Launch the application. Please ignore the html/javascript error when the html is loaded into pane 5.
2. VScorll the html content in pane 4 while it is in docking position..
3. Move pane 5 to floating position, and VScroll its html content again.
The modal behavior should appear by now. Observe it by mouse clicking any where in the application but outside Pane 5. If the modal behavior doesn't show yet, repeat steps 2 & 3.
 
VScroll is the key action that causes the modal problem to happen.
 
Thanks ahead for any help.
 
The uploaded source is:
uploads/temp/20080911_121249_PaneSample.zip



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