PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marc van Cauwenberghe on April 06, 2013, 01:44:45 PM

Title: textbox font
Post by: Marc van Cauwenberghe on April 06, 2013, 01:44:45 PM
Hi,
I would like to change the font properties of a textbox with handle hTextbox by clicking buttons. Size, bolt, italic, ....
I searched for a hour or 2 and could not find an easy way.

Anyone got some snippet?

Many thanks,
Marc

Title: Re: textbox font
Post by: José Roca on April 06, 2013, 04:18:58 PM
In my headers (file AfxWin.inc) I provide the following functions:

AfxFontModifyFontFaceName
AfxFontSetWeight
AfxFontSetItalic
AfxFontSetUnderline
AfxFontSetStrikeOut
AfxFontSetCharset

They are documented in the help file for my headers.
Title: Re: textbox font
Post by: Marc van Cauwenberghe on April 07, 2013, 06:11:27 AM
Thank you very much Jose. Really great.

Have a very nice day,
Marc