Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
... http://forums.fivetechsupport.com/viewtopic.php?p=201077#p201077 Please review samples\rbdesign.prg for an example of use * Enhancement: function ABPaint() now returns a logical value to know the result of the call to function AlphaBlend() used from ABPaint(): https://msdn.microsoft.com/es-es/library/windows/desktop/dd183351(v=vs.85).aspx ...
... Even if the alpha channel is added ( 32-bit bitmap instead of 24-bit bitmap) there is no change in the content or rendering when painted with abpaint(). We knew this behavior from the time we started using GDI+. Thank you. This could explain why HasAlpha() is not working fine. Unfortunately ...
... Even if the alpha channel is added ( 32-bit bitmap instead of 24-bit bitmap) there is no change in the content or rendering when painted with abpaint(). We knew this behavior from the time we started using GDI+.
Enrico, Lets check if it works. I have modified FWH function ABPaint() to return the result of the call to AlphaBlend() function HasAlpha( hBitmap ) local hDC := CreateDC( "DISPLAY", "", "" ) ...
... pixels: https://msdn.microsoft.com/en-us/library/windows/desktop/dd183351(v=vs.85).aspx Thus, we could modify FWH function ABPaint() to return the return value of the AlphaBlend() call there
... * Enhancement: TMenuitem, allows use of bmps, pngs, jpgs Thanks to Manuel Alvarez ( mastintin ) * Enhancement: function ABPaint() now accepts a sixth and seventh parameters to directly resize the painted image. Thanks to Enrico! * Enhancement: TXImage: Can now be created ...