Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!ucdavis!csusac!unify!openlook!openlook-request From: aim@Corp.Sun.COM (Amy) Newsgroups: comp.windows.open-look Subject: Re: OLIT: Resizing popupWindows Message-ID: Date: 22 Jan 91 21:48:23 GMT Lines: 38 >> >> >>I have a popupWindow with a widget inside that can accept resize >>requests. It seems as if the controlArea that this widget is in is not >>passing the resize request down to it. >> >>So then I tried stuffing this widget in a baseWindowShell. The resizes >>worked like a charm, but the window decorations were wrong for the kind >>of window I wanted (it had a full menu with a "Quit" item that would bag >>the whole application). I wanted the so-called limited menu that the >>popupWindows have. Which version of the toolkit are you using? With Release 4 of AT&T's toolkit, there is a new set of Shell resources which should allow you to easily customize WM decorations: Resource Type ---------------------------------------------------------------- XtNmenuType OlDefine: OL_MENU_FULL, OL_MENU_LIMITED, OL_MENU_CANCEL, OL_NONE XtNpushpin OlDefine: OL_NONE, OL_OUT, OL_IN XtNresizeCorners Boolean XtNwindowHeader Boolean However, these are not part of the previous release (thus the OLIT which ships with OpenWindows V2 on the Sun platform), and unfortunately I've not tried any of the older methods with the older version of the toolkit. I do know that there are some issues with the window manager (olwm) only reading these properties at map time - so changing them or setting them afterward will have no effect. I'm not sure if that is what you are running into, but it may be related. Regards, Amy Moore aim@sun.com