Hello. I’m thinking how can I do something like a “piano roll”. I’ve created two objects, a vertical zoom button and a grid component (which is a simple component with a grid painted with its Paint method and a zoom value). The button has a pointer to the grid component.
These two component where added to a third one.
However I don’t have a clue about how I should re-call to the grid Paint(Graphics &g) method when I change the zoom value, how should I do it?