![]() |
How to make captionless docking pane |
Post Reply ![]() |
Author | |
yamasaki ![]() Newbie ![]() ![]() Joined: 06 December 2003 Location: Japan Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 06 December 2003 at 3:33am |
Is it possible to make captionless docking pane? best regards, yamasaki |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Try this: class CCustomTheme : public CXTPDockingPaneOfficeTheme{
}; ... ... ... GetDockingPaneManager ()->SetCustomTheme(new CCustomTheme());
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ianp ![]() Moderator Group ![]() ![]() Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() |
is this possible in VB6?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Yes, this is possible in vb6.
It is possible to either show or hide ALL docking pane title bars. You can not hide/show them on an individual basis. DockingPaneManager.Options.ShowCaption = False |
|
![]() |
|
bsharifi ![]() Newbie ![]() Joined: 09 December 2004 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
When I try the above code, the caption bar at the top is removed, but so are my tabs. Now, I can't see/change the selected tabs. Help!
|
|
![]() |
|
bsharifi ![]() Newbie ![]() Joined: 09 December 2004 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
I don't have the source code since I am evaluating the tool. Therefore, I can only guess what I need to change. Can someone help me who can use the source? The example code of deriving from the CXTPDockingPaneOfficeTheme successfully removes the caption bar at the top of my docking panes but also stops drawing the tabs. Does someone have a corrected version of the above code? Thanks! |
|
![]() |
|
mwest ![]() Newbie ![]() ![]() Joined: 13 June 2005 Location: United States Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
I think this post http://forum.codejock.com/forum_posts.asp?TID=927 addresses the same problem.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |