Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Docking panes and CXTOutBarCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking panes and CXTOutBarCtrl

 Post Reply Post Reply
Author
Message
Lenz View Drop Down
Newbie
Newbie
Avatar

Joined: 03 September 2003
Location: South Africa
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lenz Quote  Post ReplyReply Direct Link To This Post Topic: Docking panes and CXTOutBarCtrl
    Posted: 09 September 2003 at 4:09am

I am trying to put an CXTOutBarCtrl on a CXTPDockingPane without any luck. The CXTOutBarCtrl appears on the pane but the folders in the CXTOutBarCtrl is not scrolling. Has anyone got this working? Here is the code I am using:

CXTOutBarCtrl* out = new CXTOutBarCtrl;
out->Create(WS_VISIBLE | WS_CHILD, CRect(0, 0, 0, 0), this, 1);
out->AddFolder("Folder1", NULL);
out->AddFolder("Folder2", NULL);
out->AddFolder("Folder3", NULL);
out->SetOwner(this);
m_Panes.InstallDockingPanes(this);
CXTPDockingPane* pane = m_Panes.CreatePane(1, CRect(0, 0, 210, 140), dockLeftOf);
pane->Attach(out);

 

Lenz
Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2003 at 11:02am

Hello,

I have attached a small sample that illustrates how to do this.  Let me know if this helps.

Kind regards,
Codejock Support

Download: OutBarSample.zip

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.188 seconds.