Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » CalendarCtrl » Problem assigning a date to CalendarCtrl
Problem assigning a date to CalendarCtrl [message #10085] Tue, 19 June 2007 21:35 Go to next message
dmcgeoch is currently offline  dmcgeoch
Messages: 52
Registered: November 2006
Location: New Jersey
Member
I am working on an app that uses a form with a CalendarCtrl on it. I want to be able to assign a date to the ctrl and have it displayed when the form is displayed. I tried using the SetDate(Date) function without success. I was able to use the SetDate(y,m,d) function to display the desired year and month. Getting the day to be highlighted does not seem to work. In addition, if I get the date from the ctrl I get the assigned year and month, but the current day. If anyone has any ideas, please let me know.

Thanks,
Dave
Re: Problem assigning a date to CalendarCtrl [message #10124 is a reply to message #10085] Thu, 21 June 2007 14:23 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I think I've fixed this, see:

http://www.ultimatepp.org/forum/index.php?t=msg&goto=101 23&#msg_10123
Re: Problem assigning a date to CalendarCtrl [message #10213 is a reply to message #10124] Mon, 25 June 2007 13:58 Go to previous message
dmcgeoch is currently offline  dmcgeoch
Messages: 52
Registered: November 2006
Location: New Jersey
Member
This fixed the problem with the day.

Thanks,

Dave
Previous Topic: Small issues....
Next Topic: Update to CalendarCtrl / TimeDateCtrl
Goto Forum:
  


Current Time: Fri Mar 29 00:17:25 CET 2024

Total time taken to generate the page: 0.01321 seconds