Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!gatech!gitpyr!wolf From: wolf@pyr.gatech.EDU ( Thomas Wolf) Newsgroups: comp.sys.atari.st Subject: Re: GEM programming Keywords: GEM Message-ID: <6496@pyr.gatech.EDU> Date: 4 Oct 88 04:02:26 GMT References: <586@sdcc15.UUCP> Reply-To: wolf@pyr.UUCP ( Thomas Wolf) Organization: Georgia Institute of Technology Lines: 19 I'm not going to venture a guess on DRI's motives for the window-limitations, but I suspect that it was probably easier to code :-) Does anybody know whether the REAL GEM (the one that is still supported by DRI -- not Atari's version) has this limitation? About putting buttons, editable strings, etc. in Windows (instead of Dialog boxes): When I wrote a calculator program, I created a Dialog box with all these objects. In my program, I created a window with dimensions set to the width and height of that dialog box. Then I displayed the dialog box inside the window (and redrew it whenever a redraw-event happened.) The toughtest part was getting the dialog box to appear in places OTHER than the center, since that is where these boxes appear by default. This was done by accessing the dialog-boxes data-structure (and I think that was a kludge.) Hope this helps a bit.....BTW, I think this method (of accessing the object's data-structure directly) might also work for menus -- but I could (and probably am) wrong.