Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!pasteur!agate!shelby!neon!loan From: loan@Neon.Stanford.EDU (James P. Loan) Newsgroups: comp.sys.sgi Subject: Starting a 4sight window iconified Message-ID: <1990Apr10.001754.27013@Neon.Stanford.EDU> Date: 10 Apr 90 00:17:54 GMT Distribution: usa Organization: Computer Science Department, Stanford University Lines: 26 A week or two ago I posted two questions about making 4sight windows. The first one was about specifying a default size for a window but then allowing the user to resize it after opening it. The answer is to call prefposition (or preforigin), then winopen, then winconstraints. The last routine "resets the window constraints to their default values, if any." And I might add that if a window constraint has no default value (like position and origin), it resets it to none. I can't believe that I didn't try this at least once when trying to solve the problem myself. The second one concerns starting a window iconified. I have an application that opens many windows, and I want some of them to start iconified, and others (with different names) to start uniconified. Someone pointed me to the files in /usr/NeWS/lib/NeWS, and that got me part of the way. I found out that the command "wsh -p100,100 -Z7" will start a wsh iconified, and when it is unstowed, it will have an origin at 100,100. This is exactly what I want to do, except from within my program, not on the command line. I have a bad feeling that wsh is a NeWS application and would do it differently than my gl application could. Can anyone get me further along that this? I know nothing about NeWS, so please use small words and speak slowly. thanks, pete loan loan@neon.stanford.edu