Hello, I need to get some system settings for example, font size and color for a standard dialog box? (I use C#) Thanks
+1
A:
The following classes have properties that will give you the information you are after:
System.Drawing.SystemFonts
System.Drawing.SystemColors
System.Windows.Forms.SystemInformation
In answer to the OPs comment:
Font messageBoxFont = System.Drawing.SystemFonts.MessageBoxFont;
Sean Bright
2009-01-31 01:23:57
systemfonts is just set of installed fonts, I need the font an user selected for message box for example, where is it, for example in System.Windows.Forms.SystemInformation?
Seacat
2009-01-31 01:42:37
It works. Thank you so much.
Seacat
2009-01-31 01:52:18