Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!oscsuna.osc.edu!heinlein.osc.edu!spencer From: spencer@heinlein.osc.edu (Stephen N. Spencer) Newsgroups: comp.windows.x Subject: Retaining what is under a popup menu? Keywords: popup menu save-under Message-ID: <362@oscsuna.osc.edu> Date: 28 Oct 89 14:58:27 GMT Sender: news@oscsuna.osc.edu Distribution: usa Lines: 34 [Please reply to one of the email addresses listed at the end of this message!] [spencer@heinlein.osc.edu WILL NOT WORK.] Background: Sun3/60, Sun OS4.0, XV11R3, HP widgets. I have a question regarding popped-up resources and retaining what's under- neath these resources. An example may help to illustrate my problem: I have an interactive program called 'foo'. In it I use, among other things, (a) popup menus, and (b) home-brewed 'user-interface utilities', for example, a popup dialog box which requests a string from the user to serve as a file name. The popup menus I'm using are straight from the HP widget collection. The home-brewed dialog uses the "transientShellWidgetClass" as its base, with a bulletinWidgetClass widget on top of it and various other widgets on the bulletinWidget (buttons, textedit Widgets, etc.) When I access one of the popup menus, select something, and release the mouse button, the area covered by the menu when it appeared is not redrawn. When I, on the other hand, access one of the user interface utilities, like the aforementioned string dialog box, and make it go away, the area covered by the dialog box when it appeared IS redrawn. How can I make the menus redraw what was covered up by their appearing? This'd save quite a bit of redrawing on my program's behalf. Thanks for any help that can be provided. -=- Stephen N. Spencer |"For a successful technology, reality must take ACCAD, 1224 Kinnear Rd. | precedence over public relations, for Nature Columbus OH 43212 | cannot be fooled." - Richard P. Feynman spencer@heinlein.cgrg.ohio-state.edu OR spencer@cis.ohio-state.edu