GUI/Maximum window dimensions: Difference between revisions

Content added Content deleted
m (→‎{{header|Perl}}: Add missing library section.)
m (→‎{{header|Nimrod}}: Added IUP example)
Line 390: Line 390:
{{out}}
{{out}}
<pre>WxH=1280x800</pre>
<pre>WxH=1280x800</pre>
{{libheader|IUP}}
<lang nimrod>import
iup

# assumes you have the iup .dll or .so installed

discard iup.open(nil,nil)

var scrnFullSize = GetGlobal("FULLSIZE")
var scrnSize = GetGlobal("SCREENSIZE")
var scrnMInfo = GetGlobal("MONITORSINFO")
var scrnVScreen = GetGlobal("VIRTUALSCREEN")

var dlg = Dialog(nil)
SetAttribute(dlg, "SIZE", "FULL")
var scrnXSize = GetAttribute(dlg,"MAXSIZE")

echo scrnFullSize, "\n", scrnSize, "\n", scrnMInfo, "\n", scrnVScreen, "\n", scrnXSize

discard iup.Alarm("Screen client size", scrnFullSize ,"Ok",nil, nil)

#discard iup.mainloop()
iup.close()</lang>
{{out}}
<pre>1280x800
1280x800
0 0 1280 800

0 0 1280 800
65535x65535</pre>


=={{header|PARI/GP}}==
=={{header|PARI/GP}}==