Migration problem..toolbar layout bad! |
Post Reply |
Author | |
Joyce
Newbie Joined: 30 June 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 30 June 2005 at 11:38pm |
Hi, I am migrating my MDI application with toolbar and docking windows to Xtreme toolkit. I replaced the CToolbar class with CXTToolbar as follow the guidance of ToolkitProManual. I planed to change toolbar immediately and to defer changing the docking windows later for some reasons. Docking window uses a CSizingControlBar(from codeguru) -derived class. But, unfortunately, I can't layout toolbar and docking bars pretty. I want to put docking window below the toolbar.. Can I do this job without replacing the docking window to the one in Xtreme toolkit ? Below is my test program's CMainFrame::OnCreate() ============================================= int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) // --- status bar creation
// --- instant bar --- Docking window not derived from xtreme toolkit m_wndInstantBar.EnableDocking(CBRS_ALIGN_LEFT|CBRS_ALI GN_RIGHT); // dock mybar2 on the same row with mybar1 // --- instant bar --- creation end // Get a pointer to the command bars object. // Add the menu bar // Create ToolBar pMenuBar->SetFlags(xtpFlagAddMDISysPopup); return 0; Please let me know the best way to layout normally. Thanks in advance, Joyce
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
move "xtreme toolkit command bar creation start" block before EnableDocking(CBRS_ALIGN_ANY); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Joyce
Newbie Joined: 30 June 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
It works! Thank you and have a nice day!
|
|
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 |