Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Die Delphi-IDE (https://www.delphipraxis.net/62-die-delphi-ide/)
-   -   TListView patch for Delphi 5-6 (maybe 7) - Critical (https://www.delphipraxis.net/77918-tlistview-patch-delphi-5-6-maybe-7-critical.html)

rd5pro 26. Sep 2006 19:27


TListView patch for Delphi 5-6 (maybe 7) - Critical
 
Beim Schmökern gefunden:

TListView patch for Delphi 5-6 (maybe 7) - Critical
---------------------------------------------------
Since program uses TListView control, VCL must be patched to prevent
Access Violations during ListView drawing under Windows XP.
Patch is the following. Open ComCtrls.pas, search for TCustomListView.UpdateColumn.
Replace:
Delphi-Quellcode:
    if FImageIndex <> -1 then
        fmt := fmt or LVCFMT_IMAGE or LVCFMT_COL_HAS_IMAGES;
with:
Delphi-Quellcode:
     if FImageIndex <> -1 then
       fmt := fmt or LVCFMT_IMAGE or LVCFMT_COL_HAS_IMAGES
     else
       mask := mask and not (LVCF_IMAGE);
Recompile and update ComCtrls.dcu in Delphi Lib folder.
Patch by Matteo Riso.

Roland

[edit=SirThornberry] Mfg, SirThornberry[/edit]

Muetze1 26. Sep 2006 21:40

Re: TListView patch for Delphi 5-6 (maybe 7) - Critical
 
Ist doch altbekannt und bei Borland gelistet samt Umgehung. Brauchen wir sowas wirklich in der CodeLib?

Sorry, verguckt - kommt (hoffentlich) nicht wieder vor...

Balu der Bär 26. Sep 2006 21:41

Re: TListView patch for Delphi 5-6 (maybe 7) - Critical
 
Zitat:

Zitat von Muetze1
Brauchen wir sowas wirklich in der CodeLib?

Nein brauchen wir nicht, deshalb steht der Thread auch in "Die Delphi-IDE". :zwinker:


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:22 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz