Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Dockpane’s splitter
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dockpane’s splitter

 Post Reply Post Reply
Author
Message
zhou_wz View Drop Down
Groupie
Groupie


Joined: 11 December 2003
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhou_wz Quote  Post ReplyReply Direct Link To This Post Topic: Dockpane’s splitter
    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?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zhou_wz View Drop Down
Groupie
Groupie


Joined: 11 December 2003
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhou_wz Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2005 at 4:19am
Did you try to add resources as I suggested?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
zhou_wz View Drop Down
Groupie
Groupie


Joined: 11 December 2003
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhou_wz Quote  Post ReplyReply Direct Link To This Post 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!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zhou_wz View Drop Down
Groupie
Groupie


Joined: 11 December 2003
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhou_wz Quote  Post ReplyReply Direct Link To This Post 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?
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.156 seconds.