2013/1/5 Martin <[email protected]>: > On 05/01/2013 12:57, luiz americo pereira camara wrote: >> >> 2013/1/5 Martin <[email protected]>: >>> >>> On 05/01/2013 11:19, luiz americo pereira camara wrote: >>>> >>>> Can you check (comment ShowScrollBar) if the paint you are seeing is >>>> really from ShowScrollBar? >>> >>> This would not make sense? >>> >>> Nothing, except the scrollbars is painted (SynEdit does not paint). >> >> I understood that SynEdit.Paint was called when setting Parent in your >> system, but seems this is not the case. >> >> Although in the description of Bart he sees the whole SynEdit painted. >> > I am sure he was mistaken: > >> for a >> brief moment you can see the TSynEdit, > > > He would see the 2 scrollbars, and in the sort time he would not have paid > attention to the absence of all else. Seing the 2 scrollbars *flicker* it is > only natural to assume one saw the synedit flicker.
OK. Now i see the issue. At runtime i could not notice the flicker and there's no WM_PAINT message involved, only stepping with the debugger is possible to see the control painted Try putting SWP_NOREDRAW in SetWindowPos It fixed here, but not sure of collateral effects Luiz -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
