In Outlook when you highlight a week, the Week calendar is set to focus, when a day is highlighted, the day calendar is set to focus, and when the entire month is selected the month calendar control is set to focus. I'm wondering how we can use the selectedDateRanges to determine when an entire month is selected or week, etc. I know I can count the number of days selected but Outlook seems to be more sophisticated than that as you can randomly select 7 dates and it will focus to the day control rather than when you click on a whole row and select the entire week.
What would you recommend to do determine which control should be selected when the dates selected changes?
We did a sample for this (see the 'UltraWinSchedule Outlook CS' sample which is included with the SDK) that derived a class from UltraMonthViewMulti and reimplemented the ISelectionManager interface to emulate the selection behavior you describe here. It is a bit of a hack (which is basically true for MS Outlook as well) but it comes pretty close to MS Outlook.