|  | 
| How to limit dates | 
| Post Reply   | 
| Author | |
| Alex H.   Senior Member     Joined: 12 February 2004 Status: Offline Points: 266 |  Post Options  Thanks(0)  Quote  Reply  Topic: How to limit dates Posted: 21 August 2008 at 4:35am | 
| 
   I would like to limit the displayable dates f.ex. from 1. Jan. 1900 (minimum) to a maximum at 2099. How can I do that? Regards Alex | |
|  | |
| prashant   Senior Member     Joined: 19 February 2007 Location: India Status: Offline Points: 165 |  Post Options  Thanks(0)  Quote  Reply  Posted: 25 September 2008 at 5:39am | 
| 
   COleDateTime cStartDate(2008, 1, 1, 0, 0, 0); COleDateTime cEndDate(2008, 12, 31, 0, 0, 0); COleDateTime cCurrDate(0, 0, 0, 0, 0, 0); m_wndDatePicker.SetRange(&cStartDate, &cEndDate); | |
|  | |
| 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 |