View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002942 | JEDI VCL | 00 JVCL Components | public | 2005-05-09 22:15 | 2005-08-09 07:21 |
Reporter | anonymous | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0002942: JvCustomItemViewer doesn't draw scroll bars correctly with xp theme enabled | ||||
Description | The WMNCPaint method in JvCustomItemViewer.pas is procedure TJvCustomItemViewer.WMNCPaint(var Messages: TWMNCPaint); begin {$IFDEF JVCLThemesEnabled} if ThemeServices.ThemesEnabled then ThemeServices.PaintBorder(TWinControl(Self), False) else {$ENDIF JVCLThemesEnabled} inherited; end; While theme is enabled, it handles WM_NCPAINT message, so that windows can not respond to this message and update scroll bars. I think the code should be change to: procedure TJvCustomItemViewer.WMNCPaint(var Messages: TWMNCPaint); begin inherited; {$IFDEF JVCLThemesEnabled} if ThemeServices.ThemesEnabled then ThemeServices.PaintBorder(TWinControl(Self), False); {$ENDIF JVCLThemesEnabled} end; | ||||
Tags | No tags attached. | ||||