Print Page | Close Window

Dockpane’s splitter

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=2049
Printed Date: 15 May 2025 at 3:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dockpane’s splitter
Posted By: zhou_wz
Subject: Dockpane’s splitter
Date Posted: 29 March 2005 at 6:40pm

I used XTP8.51

There is no splitter between dock panes. So it is difficult for me to judge the line where I can resize dock pane?

How could I do now?

And another question:
When dock pane at bottem, the caption is horizon, so the caption width is so large. As Visual Studio 6, the output dockpane's caption is left and vertical, it seems good. Can I get it easily?




Replies:
Posted By: Oleg
Date Posted: 30 March 2005 at 8:31am

Try to add toolkit resources

Add

#include <XTToolkitPro.rc>

to your rc2 file.



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


Posted By: zhou_wz
Date Posted: 31 March 2005 at 3:56am

Sorry.  what I means is the seperate line between panes.
When the line was hoved, the cursor can change to splitter cursor.

So how can I make the Line visible!



Posted By: Oleg
Date Posted: 06 April 2005 at 4:19am
Did you try to add resources as I suggested?

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


Posted By: zhou_wz
Date Posted: 06 April 2005 at 5:15am

What I use is your demo application.
What I mean is not the hover mask line to move by cursor, but the visible seperated line between docking panes. In my opion It has nothing to do with the resource!



Posted By: Oleg
Date Posted: 06 April 2005 at 10:32am

I see. By default CXTPDockingPanePaintManager only fill it, but you can override

virtual void CXTPDockingPanePaintManager::DrawSplitter(CDC& dc, CXTPDockingPaneSplitterWnd* pSplitter);

and draw it as you need.

 



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


Posted By: zhou_wz
Date Posted: 06 April 2005 at 8:07pm
Sorry, I  can not find this in XTP8.51
And can you give me the sample of DrawSplitter?



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