What is the best way to make a schedule in MFC
- by Vanwaril
I have a list of items that are each associated with a start and end time and date. What I want to do is, given a time and date range, display only the items that fall within that window, even partially.
What I'm doing is creating a CListCtrl with all the items in it and the CListCtrl is sorted by start time by default. But given a time range, I don't know how to search for the first item that is within the range.
Another problem with the list control is it displays as a list, whereas it would be nice if there was a control that could also show things that are concurrent side by side.
I'm doing this within a dialog application.