Print Page | Close Window

HELP ME...

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=17938
Printed Date: 04 May 2024 at 11:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HELP ME...
Posted By: winpih
Subject: HELP ME...
Date Posted: 22 February 2011 at 5:12am
In debug mode, support for DockingContextStickers , but not in release mode.

I wonder why. Is it bug?

This is my code.

//////////////////////////////////////////////////////////////////////////////////////////////////////

m_paneManager.InstallDockingPanes(this);
m_paneManager.SetTheme(xtpPaneThemeWord2007);
m_paneManager.SetThemedFloatingFrames(TRUE);
m_paneManager.SetStickyFloatingFrames(TRUE);
m_paneManager.SetAlphaDockingContext(TRUE);
m_paneManager.SetShowDockingContextStickers(TRUE);
CXTPDockingPane* pPane = m_paneManager.CreatePane(ID_APP_ABOUT, CRect(0, 0,350,700), xtpPaneDockRight);
ASSERT(pPane);
if (pPane) 
{
pPane->SetTitle(_T("RESULT\nRESULT"));
pPane->SetOptions(xtpPaneSplitter3D);
}
if (!::IsWindow(m_dlgPane.m_hWnd))
m_dlgPane.Create(IDD_DOCKDLG, this);
pPane->Attach(&m_dlgPane);

//////////////////////////////////////////////////////////////////////////////////////////////////////



Replies:
Posted By: Oleg
Date Posted: 22 February 2011 at 12:58pm
Hi,

Maybe in release more you build statically and don't include DockingPane resources to your exe.

try add resources  to res\app.rc2 file with line
#include "XTToolkitPro.rc"



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



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