[WinCE] TListView.BeginUpdate and TListView.EndUpdate are not implemented
Original Reporter info from Mantis: DRIGUS
-
Reporter name: DRIGUS GmbH
Original Reporter info from Mantis: DRIGUS
- Reporter name: DRIGUS GmbH
Description:
Proposed patch in lcl\interfaces\wince\wincewscustomlistview.inc starting at line 406:
class procedure TWinCEWSCustomListView.BeginUpdate(const ALV: TCustomListView);
begin
if not WSCheckHandleAllocated(ALV, 'BeginUpdate')
then Exit;
SendMessage(ALV.Handle,WM_SETREDRAW,WPARAM(False),0);
end;
class procedure TWinCEWSCustomListView.EndUpdate(const ALV: TCustomListView);
begin
if not WSCheckHandleAllocated(ALV, 'EndUpdate')
then Exit;
SendMessage(ALV.Handle,WM_SETREDRAW,WPARAM(True),0);
end;
See issue #12503 (closed) for more information. Tested on Windows Windows Embedded CE 6.0.
Additional information:
Lazarus 0.9.29 r26246
FPC 2.4.1
i386-win32-win32/win64
Mantis conversion info:
- Mantis ID: 16771
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 26264 (#4d2431ba)
- Monitored by: » DRIGUS (DRIGUS GmbH)