Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Windows API: Detect large font settings 2003-09-09 -- Geoff Spillane Newsgroups: comp.lang.clarion,softvelocity.products.c55ee
Hi Andy,
For determining if large fonts are used I use the following:
GetDialogBaseUnits(),LONG,PASCAL
! Define Group for use in GetDialogBaseUnits() API function
WordGrp GROUP,OVER(DialogBaseUnits)
LowOrderWord USHORT
HiOrderWord USHORT
END
DialogBaseUnits = GetDialogBaseUnits()
IF WordGrp.HiOrderWord > 16 ! Screen set to large fonts
Best Regards,
Geoff Spillane
On Mon, 8 Sep 2003 15:33:25 -0500, "Andy Morgan"
Today is November 21, 2024, 3:37 am This article has been viewed 35189 times. Google search has resulted in 37 hits on this article since January 25, 2004.
|
|