Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Changing screen size based on windows resolution 1997-12-08 -- Kenny Gardner ThisWindow.Init, after window is opened:
!Data
screenx Short
screeny Short
!Code
screenx = GetSystemMetrics(SM_CXSCREEN)
screeny = GetSystemMetrics(SM_CYSCREEN)
If screenx = 640 and screeny = 480
Target{Prop:Width} = 480
Target(Prop:Height} = 540
Elsif screenx = 800 and screeny = 600
Target{Prop:Width} = 700
Target{Prop:Height} = 500
End
Today is November 21, 2024, 6:28 am This article has been viewed 35193 times.
|
|