Calander Control
-
Hi, I need to use the Calander control in my MFC dialog app. The user must be able to select multiple days and once selected, when a button is pressed, circle them and/or output the dates. How would I go about getting data out of the control? I cant seem to find much help with this topic. Thanks Ashley Rowe I'm normally not a praying man, but if you're up there, please save me Superman.
-
Hi, I need to use the Calander control in my MFC dialog app. The user must be able to select multiple days and once selected, when a button is pressed, circle them and/or output the dates. How would I go about getting data out of the control? I cant seem to find much help with this topic. Thanks Ashley Rowe I'm normally not a praying man, but if you're up there, please save me Superman.
Hi, I don't think you can circle the selected dates, unless you do owner draw, if that is possible with this control. But you can have multiple selection and retrieve the selection easilly. Multiple selection seems to be limited to one week though. Just set the proper attributes (styles). Also, you might want to look at the BCG Date Time control, which seems to be available for free and might do what you need. http://www.bcgsoft.com/download.htm
-
Hi, I don't think you can circle the selected dates, unless you do owner draw, if that is possible with this control. But you can have multiple selection and retrieve the selection easilly. Multiple selection seems to be limited to one week though. Just set the proper attributes (styles). Also, you might want to look at the BCG Date Time control, which seems to be available for free and might do what you need. http://www.bcgsoft.com/download.htm
ldaoust wrote: Multiple selection seems to be limited to one week though. This is the default value. Sending the
MCM_SETMAXSELCOUNT
message allows this to be changed.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb