Print Page | Close Window

Regarding Docking

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=6876
Printed Date: 12 December 2024 at 11:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Regarding Docking
Posted By: KumarCJ
Subject: Regarding Docking
Date 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



Replies:
Posted By: Oleg
Date Posted: 16 April 2007 at 1:22pm
Hi,
 
For ToolkitPro you don't need these lines.


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


Posted By: KumarCJ
Date Posted: 17 April 2007 at 12:26am
Thanks alot Oleg.



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