CXTPPropertyGridItemDate & regional sett |
Post Reply |
Author | |
Fisher
Newbie Joined: 27 November 2004 Location: Russian Federation Status: Offline Points: 13 |
Post Options
Thanks(0)
Posted: 06 March 2005 at 5:22am |
Hello,
1. CXTPPropertyGridItemDate does not display it's date content with respect to OS regional settings. Would you (Codejock) fix it or I have to derive my own class from CXTPPropertyGridItemDate (or call to SetDateFormat)? 2. Why does CXTPPropertyGridItemDate ctor (as well as Init() function) need nonconst COleDateTime& as it's second argument ? Nothere in CXTPPropertyGridItemDate() or in Init() a reference to COleDateTime object changes. As a result of such inconsistency, the following code failes to compile:
Edited by Fisher |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
1. Yes, you must call SetDateFormat. 2. It will be changed. You can use void foo(CXTPPropertyGridItemDate* someDate) {
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |