Forum: Win32/Win64 API (native code)
Delphi
by HeinBlöd,
22. Dez 2007
Format description of the .ico files:
http://www.daubnet.com/formats/ICO.html
Forum: Win32/Win64 API (native code)
Delphi
by HeinBlöd,
22. Dez 2007
Da mir leider niemand geantwortet hat habe ich weiter nach einer Lösung gesucht.
This solution adds an icon with a predefined color count the the ImageList of Windows.
Maybe somebodyelse will implement a solution for TImageList too (since I don't need that I don't do it.)
function ImageList_LoadIcon(const ImageList: HIMAGELIST; const lpicon: LPWSTR; const uFlags: UINT): Integer;
type
...