GUI/Maximum window dimensions: Difference between revisions

m
→‎{{header|Tcl}}: Link to further related discussion
(→‎Tcl: Added implementation)
m (→‎{{header|Tcl}}: Link to further related discussion)
Line 49:
proc maxSize {} {
# Need a dummy window; max window can be changed by scripts
set top .__dualMonitorCheck____defaultMaxSize__
if {![winfo exists $top]} {
toplevel $top
Line 57:
return [wm maxsize $top]
}</lang>
On this system, that returns <code>1440 836</code>. Further discussion of related matters, including platform limitations, is on [http://wiki.tcl.tk/10872 the Tcler's Wiki].
 
== {{header|Visual Basic}} ==
Anonymous user