Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Splitter in view not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Splitter in view not working

 Post Reply Post Reply
Author
Message
VioletRose View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2005
Location: Israel
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote VioletRose Quote  Post ReplyReply Direct Link To This Post Topic: Splitter in view not working
    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.

Back to Top
kram617 View Drop Down
Newbie
Newbie


Joined: 24 February 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote kram617 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
VioletRose View Drop Down
Newbie
Newbie
Avatar

Joined: 16 June 2005
Location: Israel
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote VioletRose Quote  Post ReplyReply Direct Link To This Post 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.

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.061 seconds.