Search code examples
cwinapiopengltimetable

Building a timetable in Windows API with C


Making a simple program where the user inputs different classes, times and dates, and a timetable is generated (like a timetable with university classes). I've worked with Windows API for basic applications however I cannot find a way to display all the information in a timetable chart.

Something like this:

enter image description here

Is there a function that can be used in Windows API for displaying a timetable, or will I have to work with graphics to generate an image of a timetable (using OpenGL for instance)?


Solution

  • If you are programming in Win32 mode, to use ListView control is a better choice. You could get references from msdn: ListView Control You can also use the TextOut api to print information onto your Window form.