![]() |
CXTPFrameWnd within a CXTSplitterWnd |
Post Reply
|
| Author | |
Nexius
Newbie
Joined: 10 August 2004 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPFrameWnd within a CXTSplitterWndPosted: 18 August 2004 at 9:32am |
|
Hi all,
I want to have in one of my "views" of the splitterwindow a toolbar. So I used a derived class of CXTPFrameWnd (so I could use InitCommandBars & GetCommandBars ). The strange thing is that "view" 1 is displayed twice?! |------------------------------------------------| | View1 (CView)   ;   ; | |------------------------------------------------| | View2 (CXTPFrameWnd with a toolbar) | |------------------------------------------------| | View1 (CView) ???? &n bsp; | |------------------------------------------------| The splitter has only 2 rows, so I have no idea how/why the second View1 is displayed. If anyone knows a different approach to add a toolbar in a splitter "view" that would also be great. Thanks... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 August 2004 at 2:29am |
|
If you don't want docking/moving toolbars, you can use simple toolbar without CommandBars. see Samples\Common\Advanced\HeroesView.cpp.
|
|
|
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 |