http://bugs.winehq.org/show_bug.cgi?id=27711
Summary: ListView_SetTextBkColor may lead to infinite loop Product: Wine Version: 1.3.23 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: ocean04@suomi24.fi
Article: http://www.delphidabbler.com/articles?article=16 Source: http://www.delphidabbler.com/download?id=art-16
That code is infinite loop in wine (from point where it says: "..simply add the code shown in Listing 3 to the end of the OnCustomDraw event")
Most simple infinite loop in wine:
procedure TForm1.ListView1CustomDraw(Sender: TCustomListView; const ARect: TRect; var DefaultDraw: Boolean); begin ListView_SetTextBkColor(listview1.Handle, CLR_NONE); end;
I'll add sample exe if needed. winetricks comclt32 helps