I have a component A.
A has two child components AA and AB, which are both set to visible and have the same bounds. AB is on top of AA and AB is set to opaque.
AA has a child component AAA which is smaller than AA. A timer is constantly calling
AAA::paint is not called. Which is great.
AB::paint is called continuously. It repaints everything within the bounds of AAA. Why so? AB is set to opaque and fully covers AAA, so calling
AB::paint seems unnecessary.
Tested with Windows 10.
Similar questions had been asked before, but for me they all seemed a bit different. Please excuse if this question is an unnecessary repetition.