Hello,
I want to use a defined Logo from Resource.
Using a Alphablended BMP is no problem,
but from Resource ( changed transparent to a background-color )
I don't get it painted transparent on the Main-wnd.
Using Borland-resource-workshop, it is not possible, to include BMPs with Alphachanel.
I tested ( not transparent ) :
DEFINE IMAGE oImg OF oWnd RESOURCE "Logo" TRANSPARENT
ACTIVATE WINDOW oWnd ;
ON INIT ( SET_BRUSH( oWnd, nWStyle, lWDirect, nWColor1, nWColor2, nWGradPos, ;
cWBrush, nScrwidth, nScrheight ), WND_BAR(oMainFld) ) ;
ON PAINT PalBmpDraw( hDC, nWLogoLeft, nWLogoTop, oImg:hBitmap )
Best Regards
Uwe