I'm trying to write a custom TGraphicControl descendant that will allow a user to embed a SDL rendering surface on a VCL form. This will provide a simple way to display SDL animations in a form.
Apparently a TGraphicControl is redrawn with the Paint method. How often does this get called? Is it only when something happens to invalidate the control, or are there other things that call it? How does that interact with something that does its own drawing?