Print Page | Close Window

CXTDockWindow Vs new implementation ??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Shortcut Bar
Forum Description: Topics Related to Codejock Shortcut Bar
URL: http://forum.codejock.com/forum_posts.asp?TID=7755
Printed Date: 27 April 2024 at 9:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTDockWindow Vs new implementation ??
Posted By: amitb
Subject: CXTDockWindow Vs new implementation ??
Date Posted: 08 August 2007 at 7:00am
Hello,
I have the following design:

Mainframe Class [contains data member of MyDocWindow]
   |
    ---- MyDocWindow (base class CXTDockWindow) [contains data mem of                                                                                               Myshortcutbar]
              |
               ------ MyShortCutBar( base class CXTOutBarCtrl)

Using this i am showing a outlook style bar on the left side of my app.

Now as the CXTDockWindow class is obsolete.
Can you give me any idea about how i can use that functionality without changing my design much....

I am confused about how to use CXTPDockingPane / CXTOutBarCtrl in all this thing.



Replies:
Posted By: Oleg
Date Posted: 08 August 2007 at 9:04am
Hello,
 
Just create CXTOutBarCtrl as child of CMainFrame and attach it to DockingPane.
 
See for example GUI_VisualStudio sample.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: amitb
Date Posted: 08 August 2007 at 9:29am
Hello Oleg,
Thanks for the reply.

I checked out the sampe from: \SAMPLES\GUI_VISUALSTUDIO

But i didn't find the CXTOutBarCtrl class being used anywhere.

In fact no project from the  \SAMPLES\USERINTERFACE uses the
CXTOutBarCtrl class.




Posted By: Oleg
Date Posted: 09 August 2007 at 1:46am
Hello,
 
Hello, CXTOutBarCtrl  is quite obsolete control. I recommend you change it to CXTPTaskPanel (toolbox in this sample)
 
See Samples\TaskPanel\ToolBox  to check its styles.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: amitb
Date Posted: 09 August 2007 at 6:36am
Hi Oleg,
Saw the sample from "TaskPanel\ToolBox"

Some query now:
My application is a MDI application. We were using the class CXTDocWindow to create a docking window on left of the application (attaching the snap along with this) which contains some shortcuts...
In that case were were not using any splitter(as the dockwindow was handling it)...

But if i decide to use the CXTPTaskPanel, then i will have to use the splitter...
which i was not needing in previous case...

As the application is MDI, i am getting trouble to use the splitter..
Can you please comment on this...

Thank you uploads/20070809_063557_app_snapshot.zip - uploads/20070809_063557_app_snapshot.zip


Posted By: Oleg
Date Posted: 10 August 2007 at 1:01am
Hello,
 
You can use CXTPDockingPane + CXTPTaskPanel - so DockingPane will handle all splitters. See how  GUI_VisualStudio sample. works.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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