Silvio wrote:I saw bmptxt.prg sample
Howe I can modify the font to insert a big text ?
oBmp:bPainted := { |hDC| OnPaint( hDC, "BOLD TEXT", oFntGross ) }
.......
.......
static function OnPaint( hDC, cMsg, oFont )
local hOldFont
hOldFont := SelectObject( hDC, oFont:hFont )
SetBkMode( hDC, TRANSPARENT )
TextOut( hDC, 5, 5, cMsg )
SelectObject( hDC, hOldFont )
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 43 guests