[Lazarus] Visual "uglyness" when creating TSynEdit @ runtime in my app
luiz americo pereira camara
luizmed at oi.com.br
Sat Jan 5 12:43:22 CET 2013
2013/1/5 Martin <lazarus at mfriebe.de>:
> 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?
More information about the Lazarus