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: 21 November 2024 at 11:34pm
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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


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