Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: RTSDaddy2 on July 02, 2005, 01:16:20 pm

Title: Increasing font size inside active window
Post by: RTSDaddy2 on July 02, 2005, 01:16:20 pm
Ok guys...I figured out how to make the fonts larger in Windows on the active window bar....is there a way to increase the font size of the text within the active window?  For some reason I couldn't get that done, and saw no topics on here about this (prior to asking).

Thanks!

Title: Re: Increasing font size inside active window
Post by: Howard_Casto on July 02, 2005, 06:15:47 pm
Yes, there is, but it wouldn't help any.  Let me explain from a programmers point of view: 

Contrary to popular belief, scaling a window to fill the screen (not the just the window, but all the stuff inside it like buttons check boxes, ect) is not automatic nor is it easy.  With a few exceptions, us programmers have to put in special code on the form resize event to scale everything.  Font's are especially cumbersome because they can only be measured in font pt, which isn't easy to convert to twips or pixels.  But I'm rambling.......

Long story short, can you physically force the font size to be bigger?  Yes.  What will happen though is the other controls on the form won't move out of the way to accomidate the extra space the text is taking up and thus it'll just run out of view.   I would also like to point out that it's not an easy task.  it requires you to write a special program that hooks all the controls with text on them in a form and "hack" into their properties to nudge up the font size.  Somebody could have made a utility out there that does just that, I just haven't heard of it.


Now with all that being said.  ATI cards and a few others have an option in the advanced properties to "use larger fonts"  This will make all the fonts *slightly* bigger.  Usually this very small change doesn't screw up the look of your forms too bad as programmers are supposed to allow some blank space for just this option.