Terrible flickering of TC's window when resizing

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2s_k
True, TMyListBox. I wonder if there is an OnPaint event. Might be, because all the colorings he has to do by hand i think. Is it only the listbox that flickers?
I switched to Linux, bye and thanks for all the fish!
s_k
Junior Member
Junior Member
Posts: 18
Joined: 2003-12-09, 18:38 UTC

Post by *s_k »

True, TMyListBox. I wonder if there is an OnPaint event. Might be, because all the colorings he has to do by hand i think. Is it only the listbox that flickers?
Now I checked that in Spy++ and WM_PAINT messages are being sent to TMyListBox and it seems this control processes them (return value is 0).

Btw it is not only ListBox that flickers, every child control flickers, excepting the comboboxes with current drive. Weird...
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

it seems this control processes them (return value is 0)
Of course it processes them, Delphi does it by default.
Btw it is not only ListBox that flickers, every child control flickers
I expected that.
excepting the comboboxes with current drive
That I didnt expect!
I switched to Linux, bye and thanks for all the fish!
s_k
Junior Member
Junior Member
Posts: 18
Joined: 2003-12-09, 18:38 UTC

Post by *s_k »

That I didnt expect!
Nor did I. The comboboxes stay calm in the storm of flickering :-)
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

I just tried it. Same behaviour here. It flickers really badly (except those combos), but i almost never change the size of TC, so it never was a problem :lol:
I switched to Linux, bye and thanks for all the fish!
Post Reply