Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Disable / Hide unwanted dates.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable / Hide unwanted dates.

 Post Reply Post Reply
Author
Message
mstj View Drop Down
Newbie
Newbie


Joined: 23 June 2020
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mstj Quote  Post ReplyReply Direct Link To This Post Topic: Disable / Hide unwanted dates.
    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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.