Sorry for the interrupt, short break back to the windows patch:
@wp, I tried your fix proposal on file lcl\interfaces\win32\win32wscomctrls.pp with Laz 3.0 Win64.
I couldn’t see any negative impacts as of now.
Also no benefits, of course, as there hadn’t be a negative behavior before …
But – just as one could expect, case trackbar not aligned – regarding the messages flow, after form’s resize there are no longer any trackbar’s resize/erasebkgnd/paint messages // see image
Of course, if trackbar is aligned, a form’s resize will be followed by trackbar resize etc. - All just as it should be …..
Btw, would interest me: in the OS scenario where the flicker had been seen:
before the fix, did you notice any strange message dispatching, an unexpected amount of resize/erasebkgnd/paint messages that differed noticeably from my first screenshot?