FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A bitmap transparent on another bitmap
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 03:44 PM

it is possible ?
and How ?

Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 06:11 PM
A transparent VTitle without Border :



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Re: A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 06:18 PM

can you post the source NO vtitle please

Best Regards, Saludos



Falconi Silvio
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 07:11 PM
The same with NO VTitle :



Code (fw): Select all Collapse
...
...
ACTIVATE WINDOW oWnd MAXIMIZED ;
ON PAINT W_ALPHA( hDC )  ;
VALID MsgYesNo( "Do you want to end?" )

RETURN( NIL )


// --------- W-ALPHA-BMP  --------------------------------------

FUNCTION W_ALPHA( hDC )
LOCAL oBmp1, oBmp2

// Left / Top
DEFINE BITMAP oBmp1 FILENAME "EARTH1.BMP"
ABPaint( hDC, 760, 20, oBmp1:hBitmap, 220 )
oBmp1:End()

DEFINE BITMAP oBmp2 FILENAME "PREVIEW.BMP"
ABPaint( hDC, 820, 170, oBmp2:hBitmap, 220 )
oBmp2:End()

RETURN NIL


Best Regards
Uwe :-)]
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Re: A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 09:36 PM
thanks I resolve
and with your help I arrive here :

Best Regards, Saludos



Falconi Silvio
Posts: 603
Joined: Sun May 04, 2008 08:44 PM

Re: A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 09:38 PM

Very nice !!!!!!!!!!!

Congratulations :!:

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

Re: A bitmap transparent on another bitmap

Posted: Thu Dec 17, 2009 11:42 PM

I used only :
ribbon class,trbtn class,rpanel class and only bitmap and btnbmp class
I not modify any class I worked only on the test.prg
We had the solution before our eyes

Best Regards, Saludos



Falconi Silvio

Continue the discussion