Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Issues of ver 15.2.1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Issues of ver 15.2.1

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


Joined: 17 September 2013
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nik Quote  Post ReplyReply Direct Link To This Post Topic: Issues of ver 15.2.1
    Posted: 17 September 2013 at 5:34am
ver 15.2.1

Some issues are present.
May be they are still relevant up to now.
 

In file XTPPropertyGridItemSize.cpp
class CXTPPropertyGridItemSize::CXTPPropertyGridItemSizeWidth
has this overloaded virtual method:

virtual void OnValueChanged(CString strValue)
      {
            ((CXTPPropertyGridItemSize*)m_pParent)->SetWidth(strValue);
      }

but in base class (in XTPPropertyGridItem.h) it is defined differently:

virtual void OnValueChanged(const CString &strValue);

so it is never called in CXTPPropertyGridItemSizeWidth and CXTPPropertyGridItemSizeHeight classes.

As a side effect when one updates height or width properties they are never updated in CXTPPropertyGridItemSize caption, i.e. (Width; Height) string and HighlightChangedItems() method do not work in this situation.

Also because of the majority of necessary methods and variables in CXTPPropertyGridItemSize class are defined as private, one should fully copy-paste this class to create his own in order to do simplest thing: change captions ‘Width’ and ‘Height’ to appropriate.


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.031 seconds.