LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default monitor small/large font code

Make sure that you release the DC, see
http://msdn.microsoft.com/library/de...vcons_4esj.asp

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Vasant Nanavati" <vasantn *AT* aol *DOT* com wrote in message
...
Sub GetScreenFont()
MsgBox GetDeviceCaps(GetDC(0), 88), vbOKOnly _
+ vbInformation, "Screen Font Size"
End Sub

Assuming you have already declared the GetDC and GetDeviceCaps functions

to
get the screen resolution.

--

Vasant

"Tom Rudski" wrote in message
...
Need code to determine the monitor/screen setting 'small font' or 'large

font'.
I have code for screen resolution.
In Control Panel, 'Display', my 'Settings' advanced tab shows 'small

font
96 dpi normal'.

TIA





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Large / Small :)[_2_] Excel Discussion (Misc queries) 5 January 6th 10 02:08 PM
Font & Cell colors are not showing up on my monitor in Excel. Tawnia (Tawn'ya) Setting up and Configuration of Excel 2 February 2nd 07 02:42 PM
spreadsheet prints so small even with large font steve1 Excel Discussion (Misc queries) 3 July 18th 06 06:29 AM
SMALL and LARGE Tonto Excel Discussion (Misc queries) 6 October 27th 05 07:02 AM
How to display multiple pages on one large monitor mrkrug3 Excel Discussion (Misc queries) 1 June 24th 05 01:33 AM


All times are GMT +1. The time now is 05:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"