Print Page | Close Window

hint request

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15717
Printed Date: 27 February 2025 at 8:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: hint request
Posted By: feffe
Subject: hint request
Date Posted: 25 November 2009 at 12:23pm
Hi,
 
I have a CXTPDialogBar, and I'd like it to have a CXTPControlTab as its child.
 
I've tried to create a dialog that contains a CXTPControlTab as a static control (like in the TabbedToolbar sample).
Then I insert as items of this controltabs 2 CTreeCtrls, that are members of my dialog.
 
Is this an acceptable solution or is there a better way?
Anyway, how can I resize the CXTPControlBar so that it fits is dialog parent?
 
Thanks a lot



Replies:
Posted By: Oleg
Date Posted: 26 November 2009 at 1:32am
CXTPControlTab  is CXTPTabControl ?
What CXTPControlBar then ?


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


Posted By: feffe
Date Posted: 26 November 2009 at 2:55am
Sorry, a bit tired
 
I always mean CXTPTabControl.
Is this a good choice?
I have problems when I try to resize, because if the tabs are at the bottom they disappear.
 
I resolved in this manner:

GetParent()->GetClientRect(&r);

r.bottom-=tab.height();

m_wndTabControl.SetWindowPos(NULL, r.left, r.top, r.Width(), r.Height(), SWP_NOZORDER|SWP_NOACTIVATE);
 
But... Another question. Can I put the TITLE BAR on the LEFT of the window, and not on the top??? 


Posted By: Oleg
Date Posted: 27 November 2009 at 1:56am
Hi,
 
No, Sorry DialogBar doesn't support it - but you can try replace it to DockingPanes - they have such option (see samples)


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



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