osswald@serv1.uucp (Tim Osswald) (08/18/90)
Hello, As stated in the subject I am having problems with (I believe) Mwm for VMS. I have an application which requires that the main window open flush against the upper left hand corner (or very near to it). In my UIL file for the main window I set XmNx and XmNy to 0, but this is not what I get. What happens is that everytime I run the application the main window is placed in the following pattern: 1 3 5 7 | /| /| / | / | / | / etc. etc. etc. |/ |/ |/ 2 4 6 No matter what values I have set for XmNx and XmNy. I also checked to make sure there wasn't a XmNdefaultPosition - there isn't. I am assuming that this problem is with Mwm, so I checked through the Window Manager book and found that only clientAutoPlace and positionOnScreen appear to apply. so I set them as follows in decw$xdefaults.dat: Mwm*clientAutoPlace False Mwm*positionOnScreen False And it still didn't help. I hope I didn't miss something really stupid. Please mail responses to the the signature at the bottom, not to the address on top, It's posted from my professors account. Thanx in advance. -john- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Hester internet: hester@ececci.ece.wisc.edu VAX Systems Manager bitnet: hester%ececci.decnet@wiscmacc Departement of Electrical Engineering University of Wisconsin - Madison =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
yee@osf.org (Michael K. Yee) (08/21/90)
In article <243@erb1.engr.wisc.edu> osswald@serv1.uucp (Tim Osswald) writes: > Hello, > > As stated in the subject I am having problems with (I believe) Mwm > for VMS. I have an application which requires that the main window > open flush against the upper left hand corner (or very near to it). In my > UIL file for the main window I set XmNx and XmNy to 0, but this is not what > I get. What happens is that everytime I run the application the main > window is placed in the following pattern: > Setting XmNx and XmNy to (0,0) on the main window widget will not tell mwm to place your application at (0,0). The key is that you must set these resources on your toplevel shell. And set the Mwm*clientAutoPlace resource to False. Hope this helps, > And it still didn't help. I hope I didn't miss something really stupid. > > -john- > =Mike -- = Michael K. Yee =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- = OPEN Software Foundation -- 11 Cambridge Center -- Cambridge, MA 02142 = Phone: 617-621-8831 Email: yee@osf.org, uunet!osf.org!yee = "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ