Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Shortcut Bar
  New Posts New Posts RSS Feed - CXTDockWindow Vs new implementation ??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTDockWindow Vs new implementation ??

 Post Reply Post Reply
Author
Message
amitb View Drop Down
Groupie
Groupie
Avatar

Joined: 13 September 2006
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitb Quote  Post ReplyReply Direct Link To This Post Topic: CXTDockWindow Vs new implementation ??
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
Back to Top
amitb View Drop Down
Groupie
Groupie
Avatar

Joined: 13 September 2006
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitb Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
Back to Top
amitb View Drop Down
Groupie
Groupie
Avatar

Joined: 13 September 2006
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitb Quote  Post ReplyReply Direct Link To This Post 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 youuploads/20070809_063557_app_snapshot.zip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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