Recent

Author Topic: Windows style Tile View in a Listview  (Read 4602 times)

JimKueneman

  • Full Member
  • ***
  • Posts: 153
Windows style Tile View in a Listview
« on: June 30, 2014, 04:05:10 pm »
Is there something that I can use mimics a Listview in Tile View in Windows?

Thanks,
Jim

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7431
Re: Windows style Tile View in a Listview
« Reply #1 on: June 30, 2014, 04:53:14 pm »
From http://msdn.microsoft.com/en-us/library/windows/desktop/bb774735%28v=vs.85%29.aspx

Code: [Select]
Tile View Version 6 and later. Specified by passing LV_VIEW_TILE with LVM_SETVIEW. Each item appears as a full-sized icon with a label of one or more lines beside it.
Probably you need to override the  method of the LCL that does this call. I can vaguely remember that many Delphi controls that override styles to enable vista styles overrode CreateParams(), maybe a good place to start.

See also
http://stackoverflow.com/questions/9221835/delphi-xe2-tlistview-as-tile-view-not-working-in-windows-xp

Manifests may be involved, as well as the size of the lvitems record.
« Last Edit: June 30, 2014, 05:00:21 pm by marcov »