Print Page | Close Window

Docking panes and CXTOutBarCtrl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=155
Printed Date: 21 November 2024 at 2:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking panes and CXTOutBarCtrl
Posted By: Lenz
Subject: Docking panes and CXTOutBarCtrl
Date 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



Replies:
Posted By: kstowell
Date 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: http://forum.codejock.com/uploads/Administrator/OutBarSample.zip - OutBarSample.zip




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