TEXT ON BITMAP

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

TEXT ON BITMAP

Post by Silvio »

I have problem with a txt

Code: Select all

 @ 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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Silvio,

Code: Select all

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
Post Reply