FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bitmap TextOut Font
Posts: 125
Joined: Wed Oct 19, 2005 02:28 PM
Bitmap TextOut Font
Posted: Sat Jun 17, 2006 02:25 PM

Hello All,

Is there a way to control or set the text font being used in the
TextOut when I use it with a transparent bitmap?

Thanks

Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Bitmap TextOut Font
Posted: Sat Jun 17, 2006 02:51 PM
Try something like

oBmp:GetDC()
hOldFont = SelectObject( oBmp:hDC, oFont:hFont )
TextOut( ... )
SelectObject( oBmp:hDC, hOldFont )
oBmp:ReleaseDC()


EMG
Posts: 125
Joined: Wed Oct 19, 2005 02:28 PM
Bitmap TextOut Font
Posted: Sat Jun 17, 2006 03:45 PM

That works perfect.

Thanks Much for your help!!

:D

Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771

Continue the discussion