Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - HELP ME...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HELP ME...

 Post Reply Post Reply
Author
Message
winpih View Drop Down
Newbie
Newbie


Joined: 22 February 2011
Location: KR
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote winpih Quote  Post ReplyReply Direct Link To This Post Topic: HELP ME...
    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);

//////////////////////////////////////////////////////////////////////////////////////////////////////
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.