What is the best way to make a schedule in MFC
Posted
by Vanwaril
on Stack Overflow
See other posts from Stack Overflow
or by Vanwaril
Published on 2010-04-11T07:00:47Z
Indexed on
2010/04/11
7:03 UTC
Read the original article
Hit count: 271
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.
© Stack Overflow or respective owner