[net.micro.mac] Dialog question/problems

phil@sivax.UUCP (Phil Hunt) (04/09/86)

I am having a problem with dialog boxes over regular windows, maybe
someone else has seen it.  First, I will show you the code in MS
FORTRAN:

	INTEGER*4 olddig,dig

	.
	.
	.

	call toolbx(GETPORT,olddig)		!get cur port ptr
	dig=toolbx(GETNEWDIALOG,number....	!Open dialog box from RESEDIT
	call toolbx(SETPORT,dig)		!Make dialog current I/O port

	call toolbx(TEXTFONT,4)			!monaco in dialog
	call toolbx(TEXTSIZE,9)			!9 pt
	call toolbx(TEXTFACE,1)			!bold it

	!Here we now do the write stuff  (It all works)

	.
	.
	.

	call toolbx(HIDEWINDOW,dig)
	call toolbx(DISPOSDIALOG,dig)		!Drop dialog
	call toolbx(SETPORT,olddig)		!replace to old window for I/O


---------------------------

Now, Here is what happens:

The dialog stuff works just fine, I use MODALDIALOG/etc during dialogs and it
all works fine.....

After the dialog leaves the screen, the original window IS MESSED UP!  All I/O
to the window SCROLLS the window box off the screen, characters show up 
on top of the left window box lines and characters in that window are 12 pt
but seem to truncate at 9 pt, ie only the TOPS of the characters are seen.

What the H___ is going on????  I am stumped.

Phil Hunt