Popup Frame Problem |
Post Reply |
Author | |
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Posted: 15 August 2005 at 1:22pm |
If you try to add a splitter window to a popout frame, the splitter window and contents will overlay the menu and toolbar of the popout frame. As an example, in the toolkit Advanced sample, I removed the logic to add the pane, and instead added a normal tree/list view as follows: BOOL CPopoutFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/,CCreateContext* pContext) m_pTreeView = (CGUI_ExplorerTree*)m_wndSplitter.GetPane(0,0); The explorer tree and list view displays correctly, however the menu and toolbar cannot be seen. What am I doing wrong, or is this a bug in the LoadFrame logic? Ken
Edited by Kenneth |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
How you create toolbar? Usng CommandBars or LoadToolBar.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
Oleg Never mind. I found the problem. The sample was creating a default view in the OnCreate section. I removed that and now the splitters work correctly. Ken
|
|
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 |