Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Incorrect function in CXTPPropertyGridItemDate
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Incorrect function in CXTPPropertyGridItemDate

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: Incorrect function in CXTPPropertyGridItemDate
    Posted: 02 May 2008 at 7:54am
Hi;
a few month ago I reported a incorrect functionality in CXTPPropertyGridItemDate::SetValue() (http://forum.codejock.com/forum_posts.asp?TID=6404). This failure is still present in 12.0 release (see red marked part):
 
void CXTPPropertyGridItemDate::SetValue(CString strValue)
{
 COleDateTime dt;
 TRY
 {
  if (ParseDateTime(dt, strValue))
  {
   SetDate(dt);
  }
  else if (dt.ParseDateTime(strValue, VAR_DATEVALUEONLY, LANG_RUSSIAN))
  {
   SetDate(dt);
  }
  else if (!m_strNullValue.IsEmpty())
  {
   COleDateTime dtNull;
   dtNull.SetStatus(COleDateTime::null);
   SetDate(dtNull);
  }
 }
 CATCH(COleException, e)
 {
 }
 END_CATCH
}
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2008 at 5:16pm
Hi;

and this fault got it also in version 12.0.1!!!!
When will this be changed?

Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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: 14 August 2008 at 12:43am
Thanks, changed for 12.0.2.
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.186 seconds.