A bitmap transparent on another bitmap

A bitmap transparent on another bitmap

Postby Silvio » Thu Dec 17, 2009 3:44 pm

it is possible ?
and How ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A bitmap transparent on another bitmap

Postby ukoenig » Thu Dec 17, 2009 6:11 pm

A transparent VTitle without Border :

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Thu Dec 17, 2009 7:04 pm, edited 1 time in total.
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A bitmap transparent on another bitmap

Postby Silvio » Thu Dec 17, 2009 6:18 pm

can you post the source NO vtitle please
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A bitmap transparent on another bitmap

Postby ukoenig » Thu Dec 17, 2009 7:11 pm

The same with NO VTitle :

Image

Code: Select all  Expand view

...
...
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 :lol:]
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A bitmap transparent on another bitmap

Postby Silvio » Thu Dec 17, 2009 9:36 pm

thanks I resolve
and with your help I arrive here :

Image
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: A bitmap transparent on another bitmap

Postby lailton.webmaster » Thu Dec 17, 2009 9:38 pm

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

Congratulations :!:
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: A bitmap transparent on another bitmap

Postby Silvio » 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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 72 guests