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
Bitmap TextOut Font
- Dave Zowasky
- Posts: 125
- Joined: Wed Oct 19, 2005 2:28 pm
- Location: Hudson Ohio
- Contact:
Bitmap TextOut Font
Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bitmap TextOut Font
Try something like
EMG
Code: Select all
oBmp:GetDC()
hOldFont = SelectObject( oBmp:hDC, oFont:hFont )
TextOut( ... )
SelectObject( oBmp:hDC, hOldFont )
oBmp:ReleaseDC()
- Dave Zowasky
- Posts: 125
- Joined: Wed Oct 19, 2005 2:28 pm
- Location: Hudson Ohio
- Contact:
That works perfect.
Thanks Much for your help!!
Thanks Much for your help!!
Dave Zowasky
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771
Com1 Software, Inc.
http://www.com1software.com
information@com1software.com
330 653-3771