// JP opened flex table

Click to See Complete Forum and Search --> : BUG? TransparentBlt and DIBSections


Petr Novotny
May 15th, 1998, 05:56 AM
Hi,


I went on testing TransparentBlt code from this site and I have found something quite strange:


If the source bitmap going to TransparentBlt function is a DIBSection, the result is funny. It seems that the blt of source DC and mask DC (that one with SRCAND ROP) ****s up the colors of the DIBsection (I used 8bpp DIBsection for testing).


Is that a bug of TransparentBlt function or is it a bug in GDI somewhere? (My setup - WinNT4.0SP3WKS.)


Thanks

Chris Maunder
June 27th, 1998, 09:06 PM
Have you created, selected and realised an appropriate palette?


I've used the same code (using DIBsections) on NT4 SP3, VC5 SP3 with no problems.

//JP added flex table