Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPFrameWnd within a CXTSplitterWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPFrameWnd within a CXTSplitterWnd

 Post Reply Post Reply
Author
Message
Nexius View Drop Down
Newbie
Newbie


Joined: 10 August 2004
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nexius Quote  Post ReplyReply Direct Link To This Post Topic: CXTPFrameWnd within a CXTSplitterWnd
    Posted: 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...
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
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.031 seconds.