this is a screenshot of the calendar from Windows 7 and I have to make something similar to it, but I have no idea how to start or even how to type a question to docs

the way it should work:
when I have appointment which lasts from 08:00 to 10:00, I would like it to be visible in this widget as a rectangle with one side corresponding to the time appointment lasts (here 1:30 hour)

is this possible ?