Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
DEF Win:WINDOW
|
||||
DEF Close:CHAR
|
||||
|
||||
DEF ScreenSizeX,ScreenSizeY:INT
|
||||
DEF L,T,ClientWidth,ClientHeight:INT
|
||||
|
||||
GETSCREENSIZE(ScreenSizeX,ScreenSizeY)
|
||||
|
||||
WINDOW Win,0,0,ScreenSizeX,ScreenSizeY,@MINBOX|@MAXBOX|@SIZE|@MAXIMIZED,0,"Get Client Size",MainHandler
|
||||
|
||||
'Left and top are always zero for this function.
|
||||
GETCLIENTSIZE(Win,L,T,ClientWidth,ClientHeight)
|
||||
|
||||
PRINT Win,"Maximum drawing area values: width is"+STR$(ClientWidth)+" and height is"+STR$(ClientHeight)+"."
|
||||
|
||||
WAITUNTIL Close=1
|
||||
|
||||
CLOSEWINDOW Win
|
||||
|
||||
END
|
||||
|
||||
SUB MainHandler
|
||||
|
||||
SELECT @CLASS
|
||||
|
||||
CASE @IDCLOSEWINDOW
|
||||
|
||||
Close=1
|
||||
|
||||
ENDSELECT
|
||||
|
||||
RETURN
|
||||
|
||||
Output: Maximum drawing area values: width is 1280 and height is 749.
|
||||
Loading…
Add table
Add a link
Reference in a new issue