![]() |
hint request |
Post Reply
|
| Author | |
feffe
Groupie
Joined: 04 September 2009 Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
Topic: hint requestPosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 November 2009 at 1:32am |
|
CXTPControlTab is CXTPTabControl ?
What CXTPControlBar then ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
feffe
Groupie
Joined: 04 September 2009 Status: Offline Points: 56 |
Post Options
Thanks(0)
Quote Reply
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??? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |