Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



can not control message box font

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-03-2009
MetaEd
 
Posts: n/a
can not control message box font

I want to customize the font used in tab labels, buttons, and message
text in native Windows XP dialog boxes. Currently the font used
appears to be Tahoma 8. I am trying for something larger.

To be clear about the text I am trying to customize, you can look at
the Display Properties control panel of XP. The font I am trying to
customize is used to render:
- the labels of the five tabs
- the explanatory message at the top of the Themes tab
- the text in the Theme selection widget
- the Save As, OK, Cancel, and Apply buttons
The same font is used for similar purposes all over Windows XP.

Here are my current display settings that affect fonts.
Display Properties> Settings>
Advanced> General>
DPI setting: 105% normal size (101 dpi)
Appearance>
Windows and buttons: Windows Classic style
Font size: Normal
Advanced>
Active Title Bar Font: Tahoma 14
Icon Font: Tahoma 12
Inactive Title Bar Font: Tahoma 14
Menu Font: Tahoma 12
Message Box Font: Tahoma 13
Palette Title Font: Tahoma 10
Selected Items Font: Tahoma 12
ToolTip Font: Tahoma 10

When I adjust the Message Box Font, the example message text and OK
button in the Advanced Appearance dialog change to the new size. This
would lead one to expect that actual buttons and message text would
use the selected font after applying the change. But this is not the
case.

What am I doing wrong?
Reply With Quote
  #2  
Old 19-03-2009
Al Falfa
 
Posts: n/a
Re: can not control message box font

MetaEd,
You are not editing the font(s) specified in the resource(s) of the
..dll(s) used to display those dialog boxes. However, it would be a waste
of time if you did edit those system files.
Reply With Quote
  #3  
Old 20-03-2009
Tim Meddick
 
Posts: n/a
Re: can not control message box font

Also, I'd like to ad that XP is not very good at updating changes made on it
at times. Quite often you have to wait till several instances of explorer
have been opened and closed before your changes become apparent.
Reply With Quote
  #4  
Old 20-03-2009
MetaEd
 
Posts: n/a
Re: can not control message box font

The Display Properties control panel does not honor the font
customizations made using itself, but instead relies on hard wired
fonts specified in its DLLs---is that what you are saying?

It hardly seems possible that the display customization tool itself
would override the GUI defaults with hard wired fonts. Surely not. I
know from personal experience that it does not use hard wired colors.
It honors my color customizations. Isn't it possible that the real
problem is failure to apply changes properly, as proposed by Tim
Meddick?
Reply With Quote
  #5  
Old 21-03-2009
Al Falfa
 
Posts: n/a
"MS Shell Dlg" and its font-size are *soft-coded* in the resource of
the only dlg box in desk.cpl.

151 DIALOGEX 0, 0, 252, 218
CAPTION "Background"
FONT 8, "MS Shell Dlg"

But for the rest of the desk.cpl applet, "MS Shell Dlg" and its
font-size are *hard-coded* in shell32.dll (separately for each tab).

If you set wider fonts in
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
MS Shell Dlg and MS Shell Dlg 2
you will see clipping of text strings. But you will not be able to
enlarge those fonts anyway.
Reply With Quote
  #6  
Old 12-05-2009
LH626's Avatar
Member
 
Join Date: May 2009
Location: Lincoln, CA, USA
Posts: 2
Re: can not control message box font

Ok, this is slightly off topic of this thread but is very similar because it involves dll files pertaining to visual data within windows xp. So anyhow, I was going into Display Properties to make some changes to a few colors used in my desktop environment. I wanted to use the same color for both the menu box and highlight so the only thing that shows a difference between cursor on an object and off is a difference in text color, if that makes any sense. Obviously one would use the RGB boxes in the Color dialog box that comes up when in the Advanced Appearance dialog box to input the exact intensities of each to make an exact match. Herein lies the problem. The RGB boxes are supposed to be large enough to contain 3 digits, 0 to 255, but here on this particular machine, I get 2 digits and half of the third digit at the right side of the box. I cannot change the third digit either as this leaves me with only two digits. For example, if I clear the box and type in 255, only 25 shows. I cannot copy a three digit number in there either. This is odd and perplexing since I have been able to do this in the past. For starters, I reinstalled xp on this machine not more than six months ago. The text of the digits here has not been altered (Arial 8 I think it is), I have not altered the resolution other than maximize at the reinstall (1600x1200 on a Dell 19" monitor) and changing resolution does not make any difference. I know that this particular dialog box is contained in some dll file in system32 but none of the ones I have checked so far contains it or even the Advanced Appearance dialog from which the Color dialog can be accessed. The ones I have checked out are:

rundll32.exe
shell32.dll (this one should contain but doesn't)
explorer.exe
themeui.dll
desk.cpl

here is an image of what I am talking about for further clarification:

http://i196.photobucket.com/albums/a...olorpallet.jpg

This is the only forum I have seen so far that talks about something very similar to what I am trying to find out. Any experts here that know what file might contain the dialog in question? I sure hope so, this is driving me crazy.

M861G w/ AMD64 3200+ cpu
1.5 GB PC3200
60GB Maxtor C:
250GB WD D:
Pioneer DVR 111D
Windows XP Pro SP3
Reply With Quote
  #7  
Old 13-05-2009
LH626's Avatar
Member
 
Join Date: May 2009
Location: Lincoln, CA, USA
Posts: 2
Re: can not control message box font

THANK YOU, THANK YOU, THANK YOU!!

I have modified this particular dialog and all is well!
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "can not control message box font"
Thread Thread Starter Forum Replies Last Post
Changing the font color of outgoing mail message body or make it default in Mac OS X Marquise Windows Software 5 06-09-2011 08:21 AM
Reducing the font size of message in Samsung star 3G Balamani Portable Devices 6 16-09-2010 03:02 PM
Disable all font smoothing in Windows 7 (ie: including taskbar, menus, control panel, etc.) Madhunisha Customize Desktop 4 05-08-2010 01:45 PM
Change font for tooltip control ? Chain-SmokeR Software Development 3 20-07-2009 09:05 AM
Changing font for dialogue message box surface9 Windows XP Support 9 31-01-2009 01:10 AM


All times are GMT +5.5. The time now is 11:47 AM.