The oBmp1 can not transparent on oBmp2.
- oBmp1 = "LOGO3" is True Color + Alpha (32bits) in (RES).
- oBmp2 is JPG file.
How can I make oBmp1 as transparent?
- Code: Select all Expand view
- DEFINE WINDOW oWnd ICON oIcon ;
MENU BuildMenu()
@ 0, 0 BITMAP oBmp1 RESOURCE "LOGO3" OF oWnd NOBORDER
oBmp:nAlphaLevel := 150
@ 200, 250 BITMAP oBmp2 FILE "C:\IMAGE\BACKGROUND.JPG" OF oWnd NOBORDER SIZE (GetSysMetrics(0)), (GetSysMetrics(1)) PIXEL ADJUST
oBmpBk:nAlphaLevel := 60
ACTIVATE WINDOW oWnd MAXIMIZED ;
ON PAINT (oBmp:Move((oWnd:nHeight() - oBmp:nHeight())-115, (oWnd:nWidth() - oBmp:nWidth())-25 ))
Thank you in advance,