Recent

Author Topic: Correct Way to get Windows' SystemImageList into TCustomImageList  (Read 2545 times)

21347

  • New member
  • *
  • Posts: 7
Correct Way to get Windows' SystemImageList into TCustomImageList
« on: September 06, 2012, 03:27:28 pm »
Hi, there.

What is the favoured way to get Images from Windows' SystemImageList?

I tried setting an ImageList's handle to the Handle of the SysteImageList from Windows, but it seems not to work.

I then subclassed a TCustomImageList, but hat to change GetRawImage to virtual in the LCL to be able to actually extract images from the List correctly; would it be an option to change TCustomImageList.GetRawImage to virtual in the LCL?

Thanks in Advance!

 

TinyPortal © 2005-2018