Print Page | Close Window

Disable / Hide unwanted dates.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=24147
Printed Date: 29 April 2024 at 2:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable / Hide unwanted dates.
Posted By: mstj
Subject: Disable / Hide unwanted dates.
Date Posted: 08 April 2021 at 5:21pm
Hello.

I'm trying to set a range of dates within a month that users cannot go under or above that range.

I'm looking at the Date Picker demo and even though I set a range of dates (say in the middle of the month), the month will still show a full month (non-month days notwithstanding).

Is there a way to hide / deactivate unwanted dates?

The only way to get a pointer to the current month via CXTPDatePickerItemMonth* is the virtual function CXTPDatePickerControl::HitTest() but it's const so I can't modify anything within it.

Any help appreciated.



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