Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change from v11.1.3 to V14.0.0b
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change from v11.1.3 to V14.0.0b

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Change from v11.1.3 to V14.0.0b
    Posted: 11 February 2010 at 8:49am
Hello,

Have a trouble after change version.
Start old programversion. ok.
start new programversion. ok.
now i start the odl programversion.
  now all pane text have a quad char on end of text.
  any solution ?

  Jimmy


Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2010 at 5:03am
See trouble in XTPDockingPaneLayout.cpp

Old version only save m_strTitle in "Title".
And new version
        CString strTitle = m_strTitle + '\n' + m_strTabCaption + '\n' + m_strTitleToolTip;
        PX_String(pPX, _T("Title"), strTitle);

Wish a global compatible flag.


static CXTPDockingPane::bPropExchangeCompatible = FALSE;

if (CXTPDockingPane::bPropExchangeCompatible)
{
    PX_String(pPX, _T("Title"), m_strTitle);
    PX_String(pPX, _T("TabCaption"), m_strTabCaption);
    PX_String(pPX, _T("TitleTooltip"), m_strTitleToolTip);
}
else
{
    CString strTitle = m_strTitle + '\n' + m_strTabCaption + '\n' + m_strTitleToolTip;
    PX_String(pPX, _T("Title"), strTitle);
}

  Jimmy



Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2010 at 5:09am
I believe a better solution would be a complete versioning schema because when in next release more is stored and you have to be compatible to more than two versions the flag solution isn't sufficient.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 516
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2010 at 5:49am
Hi,
Yes you are right, but the trouble is, that CJ make this not compatible.
Why CJ has put Title,TabCaption,Tooltip into one String ?

  Jimmy
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2010 at 6:06am
I can't answer this, but we can place a 'feature request' for release 14.x.
An implementation is'nt very difficult but it enhances the usability a lot!
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.046 seconds.