hi,
to load Resource into Imagelist i use
and
it work with Icon but fail(?) on Bitmap that Way :(
---
when use "File"-Icon i use
and
here both work
what can be the Problem that Bitmap from Resource seems not to work :?:
it there another Way to load Bitmap Resource into Imagelist :?:
to load Resource into Imagelist i use
iIcon := LoadIcon( GetResources(), "ICOUP" )
iIcon := LoadIcon( GetResources(), "ICODOWN" )
iImage := ILADDICON( ::oImageLHeader:hImageList, iIcon ) iIcon := LoadBitmap( GetResources(), "GRID_ASC" )
iIcon := LoadBitmap( GetResources(), "GRID_DSC" )
iImage := ILADD( ::oImageLHeader:hImageList, iIcon )---
when use "File"-Icon i use
iTemp_0 := Icon_Read( ::cPath + cFile, 32 )
ILADDICON( ::oImageListSmall:hImageList, iTemp_0 ) aBitmaps := ::oWnd:ReadImage( ::cPath + cFile, { ::nIcoSmall + 8, ::nIcoSmall + 8 } )
iTemp_0 := aBitmaps[ 1 ]
ILADD( ::oImageListSmall:hImageList, iTemp_0 )what can be the Problem that Bitmap from Resource seems not to work :?:
it there another Way to load Bitmap Resource into Imagelist :?:
greeting,
Jimmy
Jimmy
