A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
|
|
@ -0,0 +1,11 @@
|
|||
package require Tk
|
||||
proc maxSize {} {
|
||||
# Need a dummy window; max window can be changed by scripts
|
||||
set top .__defaultMaxSize__
|
||||
if {![winfo exists $top]} {
|
||||
toplevel $top
|
||||
wm withdraw $top
|
||||
}
|
||||
# Default max size of window is value we want
|
||||
return [wm maxsize $top]
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
TYPE syswindowstru
|
||||
screenheight AS INTEGER
|
||||
screenwidth AS INTEGER
|
||||
maxheight AS INTEGER
|
||||
maxwidth AS INTEGER
|
||||
END TYPE
|
||||
|
||||
DIM syswindow AS syswindowstru
|
||||
|
||||
' Determine the height and width of the screen
|
||||
|
||||
syswindow.screenwidth = Screen.Width / Screen.TwipsPerPixelX
|
||||
syswindow.screenheight=Screen.Height / Screen.TwipsPerPixelY
|
||||
|
||||
' Make adjustments for window decorations and menubars
|
||||
Loading…
Add table
Add a link
Reference in a new issue