NO

Author Topic: background image for listview controls  (Read 1636 times)

czerny

  • Guest
background image for listview controls
« on: December 03, 2014, 09:56:26 am »
May be this is usefull!

czerny

  • Guest
Re: background image for listview controls
« Reply #1 on: December 03, 2014, 11:04:44 am »
Code: [Select]
IBBkImg.pszImage = L"res://C:\\ListViewImg.exe/#2/#100";works too! (2 is resource typ for bitmaps, 100 the resource id)

Of course you have to include such a resource and edit the path to test!

But
Code: [Select]
IBBkImg.pszImage = L"res://C:\\ListViewImg.exe/#3/#8001";
// or
IBBkImg.pszImage = L"res://C:\\ListViewImg.exe/#14/#8001";
is not working!
« Last Edit: December 03, 2014, 11:09:50 am by czerny »

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1877
Re: background image for listview controls
« Reply #2 on: December 04, 2014, 06:00:09 pm »
Nice example.
And with .ulFlags = LVBKIF_SOURCE_NONE; someone can take picture off.
May the source be with you