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

Regarding Docking

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

Joined: 02 April 2007
Location: India
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote KumarCJ Quote  Post ReplyReply Direct Link To This Post Topic: Regarding Docking
    Posted: 16 April 2007 at 5:35am

Hi,

We are integrating our application from code jock 4.2 to code jock 10.4.2.

We were using following code for enabling docking for menu and toolbar.
using code jock 4.2.

 
  CMenu*         m_wndMenuBar;
  CToolBar*     m_wndToolBar;
 
   m_wndMenuBar.EnableDocking(CBRS_ALIGN_ANY);
   m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
   EnableDocking(CBRS_ALIGN_ANY);
   DockControlBar(&m_wndMenuBar);
   DockControlBar(&m_wndToolBar);
 
When we are integrating it with code jock 10.4.2, code is some thing like below:
 
   CXTPMenuBar* m_wndMenuBar;
   CToolBar*     m_wndToolBar;
 
   m_wndMenuBar->EnableDocking(xtpFlagStretched);
   m_wndToolBar->EnableDocking(xtpFlagStretched );
   EnableDocking(CBRS_ALIGN_ANY);
//Replacement  Needed for below line of code

   //DockControlBar(&m_wndMenuBar);
   //DockControlBar(&pToolBar);
 
//Replacement  Needed for above line of code
 
DockControlBar function take ref. to CMenu or CToolBar obj.
 
what is the replacement and how i can replace these two lines of code, using code jock 10.4.2
 
Due to this when I am maximizing the child window the minimise, restore and close button comes just after the help menu(last menu).
 
 
Pls help me out.
 
Thanks,
KumarCJ
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: 16 April 2007 at 1:22pm
Hi,
 
For ToolkitPro you don't need these lines.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
KumarCJ View Drop Down
Groupie
Groupie
Avatar

Joined: 02 April 2007
Location: India
Status: Offline
Points: 96
Post Options Post Options   Thanks (0) Thanks(0)   Quote KumarCJ Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2007 at 12:26am
Thanks alot Oleg.
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.