Announcement

Collapse
No announcement yet.

Adjusting System Fonts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adjusting System Fonts


    This is a question one of the registry gurus may be able
    to answer. It pertains to setting font sizes in Win 95/98.

    When resetting the screen from a lower to higher resolution,
    one can adjust most of the system dependent font sizes using
    the Appearence section of the Desktop Properties dialog.

    The exception to this are dialogs themselves, including a
    simple InputBox. The point setting of the font apparently
    stays fixed because as the resolution increases, the text
    of the InputBox gets smaller.

    One would think that settings in the Appearence sub-dialog
    would cover this but they don't. Is there a registry setting
    to do this ?

    Andy
    [email protected]


  • #2
    Andy --
    I prefer, if possible, not depends from system settings at all.
    First of all, because my programs could run on foreign computers.
    In any case I can't control, for example, Msgbox or InputBox buttons.
    At the same time to combine Russian prompt with English (or other language) "Yes"/"No" is not a nice view.
    So, in products for customers I change similar dialogs by own, where I can control fonts, sizes, titles.

    Comment


    • #3

      Semen,

      >>I prefer, if possible, not depends from system settings at all.<<

      True, I set my fonts dynamically based on return values from the
      GetSystemMetrics API call. My problem is with all the other desktop
      software that my apps have to coexist with.

      Andy
      THREE Systems

      Comment


      • #4
        Andy --
        I don't exactly understand your problem, but what is linked with fonts, you can find in
        HKEY_LOCAL_MACHINE\Config\0001\Display\Settings
        HKEY_LOCAL_MACHINE\Config\0001\Display\Fonts
        Also see:
        HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Fonts
        HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Fontsize

        PS. It's enough easy to detect, what Windows changes in registry by export .reg-file before and after changing of system parameters (fc).

        [This message has been edited by Semen Matusovski (edited January 28, 2000).]

        Comment


        • #5

          Semen,

          Thank you. I'll take a look at those keys.

          Andy

          Comment

          Working...
          X