[lazarus] Bug of TListView
nc-gaertnma at netcologne.de
Fri Nov 8 18:24:55 EST 2002
On Fri, 08 Nov 2002 18:58:33 +0300
"Vasily I. Volchenko" <Vasily.Volchenko at mstu.edu.ru> wrote:
> As it was said, my program generates a lot of unreleased DCs. But
> TListView seems to do so anyway.
> I tested it the following way: form with listview, button. bitbtn and
> On creation: imagelist loads bitmap from fitbtn (kind=abort). Then on
> button click an item with image is added.
> Each image occupies 1 unreleased dc and 6 gdiobjects (as I remember).
> Without images all works OK.
Hmm. I will check it ...
> Besides it seems that DCs aren't freed automatically (just warned).
That's right. This way you can easily see with heaptrc where they were
More information about the Lazarus