Posted by Grant Foraker on April 02, 2015 at 14:50:08: Uploaded files: 2
In Reply to: 2015 Comet Meeting Minutes posted by Barbara Brazil on April 01, 2015 at 10:54:41:
I've coded for three screen widths, 1024, 1440 & 1920 and I have three corresponding DLL files. I use the following in the beginning of every WDL program to determine which DLL to use.
!------------------------ ^SETREZ --------------------------------------
LET cosIndex = 0 ! Horizontal Resolution
Gosub COS.GetSystemMetrics
LET ScreenSize = cosFuncResult
!------------------- 03/22/2015 ------------------------------------------------
LET cosCtlText$ = 'X'
GOSUB COS.GetFrameWnd
GOSUB GDI.GetTextExtent
IF cosHeight EQ 20 LET ScreenSize = ScreenSize / 1.20 ! MEDIUM DPI
!-------------------------------------------------------------------------------
SELECT CASE ScreenSize
CASE FROM 0 THRU 1439
cosDllNames$ = "CometWL.dll" ! DLL filename
CASE FROM 1440 THRU 1919
cosDllNames$ = "CometWM.dll" ! DLL filename
CASE ELSE
cosDllNames$ = "CometWH.dll" ! DLL filename
ENDSELECT
!-------------------------------------------------------------------------
The most recent code, thanks to "Comet Woman" was brought on by users who have implemented big monitors but turned on the "medium text and items size". This effectively reduced their screen by about 25%. So a 1920 width screen became a 1600 screen. Comet didn't know and used the large DLL which overflowed their screen.
Is quad/4K the next size?
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.