Posted by Barbara Brazil on February 03, 2011 at 17:01:10:
In Reply to: Re: DocMgr problem posted by Grant Foraker on February 03, 2011 at 14:22:45:
So this means you thing the solution is adequate? It was really easy. At the beginning of DocMgr is test to see if they are maximized. If so I set them to normal. Then on the way out I remaximize them!
At the top:
gosub COS.GetFrameWnd & FrameWnd$ = cosCWnd$
gosub COS.IsMaximized & MaxState = cosState
if MaxState = 1 ! If MaxState = 1 they are maximized
cosCWnd$ = FrameWnd$
cosState = SW.NORMAL
gosub COS.ShowWindow
endif
Then on the way out:
if MaxState = 1
cosCWnd$ = FrameWnd$
cosState = SW.MAXIMIZE
gosub COS.ShowWindow
endif
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.