Minalth
03-12-2004, 02:32 PM
I am using BitBlt
Is there any way to get different amounts of transparency?
I have tried using grays on the map and that didnt work
thanks in advance
minalth
hDC_0
03-12-2004, 04:17 PM
I am using BitBlt
Is there any way to get different amounts of transparency?
minalth Variable levels of transparency is know as alpha transparency . There are 3 ways (that I know of) to achieve this is VB:
1.) Use the AlphaBlend API :
http://www.mentalis.org/apilist/AlphaBlend.shtml
Note: Does not work on WinNT or Win95
2.) Use OnErrOr's GDI+ TypeLib:
http://www.visualbasicforum.com/showthread.php?t=98285
3.) Use DMA (Direct Memory Access) to do pixel by pixel manipulation:
http://www.visualbasicforum.com/t25347.html