Regarding Docking |
Post Reply |
Author | |
KumarCJ
Groupie Joined: 02 April 2007 Location: India Status: Offline Points: 96 |
Post Options
Thanks(0)
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. 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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
For ToolkitPro you don't need these lines.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
KumarCJ
Groupie Joined: 02 April 2007 Location: India Status: Offline Points: 96 |
Post Options
Thanks(0)
|
Thanks alot Oleg.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |