Print Page | Close Window

Splitter in view not working

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2392
Printed Date: 10 November 2025 at 3:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Splitter in view not working
Posted By: VioletRose
Subject: Splitter in view not working
Date Posted: 16 June 2005 at 10:37am

We use XTP in our application (recent edition).
This is an MDI application based on VC++ 6.0 (with latest SP).

We added a vertical splitter inside a view of one of the child windows. The splitter inherits from CXTSplitterWnd. It is defined in the child's frame (in OnCreateClient).

In some machines we have a problem with the behavior of the splitter. It either doesn't show or it does but then when the user drags it all the way back (to close it) then it cannot be re-opened again. You can see the mouse change when it hovers over it but once you drag it then the mouse changes back to normal.

All machines that we use are Win2K.

Any help is appreciated,

Irit.




Replies:
Posted By: kram617
Date Posted: 27 March 2006 at 1:26pm
I have noticed the same problem.  Sometimes when I click to drag open the splitter window, it doesn't move.  The issue only seems to happen sporadically, and I've been unable to recreate it on a regular basis.  But when it does happen, my C++ output window gets filled with "Warning: split too small to fit in a new pane" messages.


Posted By: Barto
Date Posted: 27 March 2006 at 4:34pm
I also witnessed this behaviour when creating the splitter during the creation of the view/frame window. But I have a button that allows the user to switch to different split configurations, thus deleting the splitter window and creating a new one. After this procedure, the splitting usually works fine.. It's a real strange problem and it's there since a few versions at least...


Posted By: VioletRose
Date Posted: 29 March 2006 at 3:14am

I did find a way to solve this by changing the style of the splitter. You need to set XT_SPLIT_NOFULLDRAG.

Irit.




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