... ::ReadImage(::acBitmaps[ n ] ) ) then give me the right list https://i.postimg.cc/YqSGdXsp/testr.png on method paint I have DrawBitmap( ::hDC, ::aBitmaps[ max( ::nActual , 1 ) ], nRow, nCol, ::nWBmp, ::nHBmp, SRCCOPY ) because before the class run with only bmp file how I ...
on oldest class I have DrawBitmap But it show only Bitmap files I load the files with new ReadImage() so I have also the size I wish use also png files how I can converte it ? I must use bitblt ?
... 74: Call of nonfunction in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 182: Call to function 'DrawBitmap' with no prototype in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 190: Call to function 'DrawBitmap' ...
... 74: Call of nonfunction in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 182: Call to function 'DrawBitmap' with no prototype in function HB_FUN_TSDRAWCELL Warning W8065 C:\TSBROW~1\SOURCE\FUNCTION\TSBFUNCS.C 190: Call to function 'DrawBitmap' ...
... ventana a la que deberías asignarle el tooltip y el dblclick: oWnd:cTooltip = "Mi tooltip" ACTIVATE WINDOW oWnd MAXIMIZED ; ON PAINT ( DrawBitmap( hDC, hbmp, 0, 0 ) ) ; ON DBLCLICK MsgInfo( "DblClick" )
... source code somehow makes the palette works fine (though it is not used as it is zero!). Maybe if we apply the source code of PalBmpDraw() into DrawBitmap() then we can fix DrawBitmap() for palettes.
Enrico, It seems as your bitmap uses a palette that PalBmpDraw() activates (though strangely hPalette is supplied as zero to PalBmpDraw()) and DrawBitmap() does not activate it. In other words, for some bitmaps DrawBitmap() will be fine and for others that use a palette, PalBmpDraw() is required ...
... Enrico, It seems as your bitmap uses a palette that PalBmpDraw() activates (though strangely hPalette is supplied as zero to PalBmpDraw()) and DrawBitmap() does not activate it. In other words, for some bitmaps DrawBitmap() will be fine and for others that use a palette, PalBmpDraw() is required ...
It seems as your bitmap uses a palette that PalBmpDraw() activates (though strangely hPalette is supplied as zero to PalBmpDraw()) and DrawBitmap() does not activate it.
In other words, for some bitmaps DrawBitmap() will be fine and for others that use a palette, PalBmpDraw() is required