Category : Files from Magazines
Archive   : VOL13N08.ZIP
Filename : MAXWIN.SC

 
Output of file : MAXWIN.SC contained in archive : VOL13N08.ZIP
;----------------------------------------------------------------------
; PROC MaxWin() - Maximize the current window Paradox for DOS 4.5
;----------------------------------------------------------------------
PROC MaxWin()
WINDOW HANDLE CURRENT TO winhndl
DYNARRAY winatts[]
winatts["MAXIMIZED"] = TRUE
IF ISFORMVIEW() THEN
winatts["HASFRAME"] = FALSE
ELSE
winatts["HASFRAME"] = TRUE
ENDIF
WINDOW SETATTRIBUTES winhndl FROM winatts
ENDPROC

;----------------------------------------------------------------------
; PROC MaxWin1() - Maximize the current window Paradox for DOS 4.5
; Checks first for a valid current window handle.
;----------------------------------------------------------------------
PROC MaxWin1()
winhndl = GetWindow()
IF IsWindow( winhndl ) THEN
DYNARRAY winatts[]
winatts["MAXIMIZED"] = TRUE
IF Imagetype() = "Display" THEN
IF ISFORMVIEW() THEN
winatts["HASFRAME"] = FALSE
ELSE
winatts["HASFRAME"] = TRUE
ENDIF
ENDIF
WINDOW SETATTRIBUTES winhndl FROM winatts
ENDIF
ENDPROC


  3 Responses to “Category : Files from Magazines
Archive   : VOL13N08.ZIP
Filename : MAXWIN.SC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/