Rick,
with some more Tests, I found what's wrong : TRANSPARENT BMP
I repainted a original 24 Bit transparent BMP.
oImageList = TImageList():New( 32, 32 ) // width and height of bitmaps
From Resource
-----------------
oImageList:AddMasked( TBitmap():Define( "New", , oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( "Open", , oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( "Check", , oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( "Search", , oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( "Print", , oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( "Internet", ,oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( "Keys", , oWnd ), nRGB( 255, 0, 255 ) )
From Code 24 Bit transparent ( Alphablended )
Doesn't work because of nRGB( 255, 0, 255 ) !!!---------------------------------------------------------------------------
oImageList:AddMasked( TBitmap():Define( ,c_path + "\Images\Select.bmp", oWnd ), nRGB( 255, 0, 255 ) )
From Code 24 Bit with purple Background ( repainted No transparent )
Works !!!------------------------------------------------------------------------------------------
oImageList:AddMasked( TBitmap():Define( ,c_path + "\Images\Select1.bmp", oWnd ), nRGB( 255, 0, 255 ) )
oImageList:AddMasked( TBitmap():Define( ,c_path + "\Images\Quit.bmp", oWnd ), nRGB( 255, 0, 255 ) )
changed :
oImageList:AddMasked( TBitmap():Define( ,c_path + "\Images\Select.bmp", oWnd ), nRGB( 255, 0, 255 ) ) against :
oImageList:AddMasked( TImage():Define( ,c_path + "\Images\Select.bmp", oWnd ) ) Best Regards
Uwe