TEXT ON BITMAP

TEXT ON BITMAP

Postby Silvio » Fri Sep 08, 2006 12:11 pm

I have problem with a txt
Code: Select all  Expand view
@ 0, 0 BITMAP oHeader OF oAgenda FILE ".\bitmaps\zonelab.bmp" NOBORDER PIXEL SIZE 1572, 80
                           oHeader:oBrush := oBrush

                           oHeader:bPainted = { || SetBkMode( oHeader:hDC, TRANSPARENT ),;
                                                   SetTextColor(oHeader:hDC,CLR_WHITE),;
                                                   TextOut( oBmp:hDC, 5, 5, "V D S W I N   " ) }


I can see the bitmap but I cannot see the text on bitmap
Can you help me pls.
-----------------------------------------------------------------------
Best Regards, Saludos

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

Postby Antonio Linares » Fri Sep 08, 2006 4:50 pm

Silvio,
Code: Select all  Expand view
oHeader:bPainted = { | hDC | SetBkMode( hDC, TRANSPARENT ),;
                                                   SetTextColor( hDC,CLR_WHITE),;
                                                   TextOut( hDC, 5, 5, "V D S W I N   " ) }
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Natter, Otto and 76 guests