GerbilSoft / rom-properties

ROM Properties Page shell extension
GNU General Public License v2.0
470 stars 36 forks source link

[win32] RFT_LISTDATA fixes that require LVS_OWNERDRAW #174

Open GerbilSoft opened 5 years ago

GerbilSoft commented 5 years ago

Two issues with RFT_LISTDATA that require rewriting it to use LVS_OWNERDRAW:

  1. LVSCW_AUTOSIZE_USEHEADER doesn't work properly with newlines. Currently working around this by calculating the initial width manually, but this doesn't work if the user manually double-clicks the coluimn separator for automatic width.
  2. The empty space in icons that's added to increase the row size isn't highlighted as expected. It has a lighter highlight that's expected for images, rather than the darker highlight that's expected for the row background.
  3. [WinXP] ListView doesn't support linebreaks. This causes Xbox 360 achievements and avatar awards to look weird. (On Win7 [and maybe Vista], linebreaks are supported, but only if the column is wide enough.)
GerbilSoft commented 4 years ago

Removing milestones. I have no idea if I'll ever get around to doing this.