Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 from ihnp4 4.3bsd-beta 6/6/85; site chinet.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!chinet!rlk From: rlk@chinet.UUCP (Richard L. Klappal) Newsgroups: net.micro.att Subject: Re: Help needed on 7300 windows, forms, menus Message-ID: <234@chinet.UUCP> Date: Wed, 4-Dec-85 00:17:08 EST Article-I.D.: chinet.234 Posted: Wed Dec 4 00:17:08 1985 Date-Received: Thu, 5-Dec-85 09:03:59 EST References: <770@rtech.UUCP> Reply-To: rlk@chinet.UUCP (Richard L. Klappal) Distribution: na Organization: chi-net, Public Access UN*X, Chicago IL Lines: 26 Keywords: protecting current window In article <770@rtech.UUCP> daveb@rtech.UUCP (Dave Brower) writes: >I would appreciate it immensely if someone could post some code that >actually uses the 7300's windowing, expecially by using the form(3) and >menu(3) library routines. The example programs in the manual don't >work. They always seem to zap the current (eg., the shell) window rather >than creating a new one. > >It also seems that the tam wgetsel() always returns junk. Am I on drugs >or is something funny going on here? > The form/menu/etc. calls all assume you are running from the user agent (ua), which will clean up the mess automatically when your call exits. Try creating a dimensionless window before using form() or menu(), but after winit(). Then wexit() will return to the dimensionless window setting on its way out, and leave you with a full screen, not the little box in the middle. Sorry I don't have any code here, (my home system isn't the 7300). I'll try to remember some code tomorrow, and post some short examples. -- --- UUCP: ..!ihnp4!chinet!uklpl!rlk || MCIMail: rklappal || Compuserve: 74106,1021 ---