2013/1/5 Martin <[email protected]>: > On 05/01/2013 11:19, luiz americo pereira camara wrote: >> >> >> What OS are you using. >> >> Here with windows 7 no Paint occurs at all. See previous mail >> >> Can you check (comment ShowScrollBar) if the paint you are seeing is >> really from ShowScrollBar? >> >> After that we can look what to do >> > > If I single step, it is not painted by that line. > > It happens here > > Perform(CM_SHOWINGCHANGED, 0, 0); // see TWinControl.CMShowingChanged
This ends with TWin32WSWinControl.ShowHide that calls SetWindowPos which should not trigger a immediate wm_paint What OS are you using? Did you tried commenting the code inside TWin32WidgetSet.ShowScrollBar? Luiz -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
