Page 1 of 1

TEXT ON BITMAP

Posted: Fri Sep 08, 2006 12:11 pm
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.
-----------------------------------------------------------------------

Posted: Fri Sep 08, 2006 4:50 pm
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   " ) }