Add a date item with NULL-Date |
Post Reply |
Author | |
BerntK
Groupie Joined: 15 September 2008 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 15 December 2008 at 5:27pm |
Hi,
I would like to add a date item with initial NULL-date (dtDate.SetStatus(COleDateTime::null)).
CXTPPropertyGridItemDate::SetDate asserts as there is no way to preset the m_strNullValue as it is done by CXTPPropertyGridItemDate::AllowNullDate . Any ideas? Bernt |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Set some non NULL date first and then call AllowNullDate + SetDate(dtDate).
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
BerntK
Groupie Joined: 15 September 2008 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Hi,
...thats not straight ahead. I tried a derived class, overwriting SetDate(), but forgot that within the constructor, the baseclass of SetDate() is called... Any other ideas? Bernt |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |