Print Page | Close Window

CXTPPropertyGridItemDate: Formatting dd-MON-yyyy

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=10039
Printed Date: 28 September 2024 at 12:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPropertyGridItemDate: Formatting dd-MON-yyyy
Posted By: andrewg
Subject: CXTPPropertyGridItemDate: Formatting dd-MON-yyyy
Date Posted: 02 April 2008 at 10:53am
As the title suggests, is there any ways to format the CXTPPropertyGridItemDate object to dislpay dd-MON-yyyy

eg. 23-JAN-2007
      02-MAR-2001



Replies:
Posted By: andrewg
Date Posted: 04 September 2008 at 12:44pm
Anyone?


Posted By: mgampi
Date Posted: 05 September 2008 at 8:33am
SetDateFormat(_T("%d-%b-%Y"))

-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: andrewg
Date Posted: 08 September 2008 at 11:11am
We tried this approach, and it works for displaying information in the correct order. However, when using it with the drop-down calendar we get a "Not set" string. Any ideas how to get the drop-down calendar to work with it?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net