Path: utzoo!attcan!uunet!crdgw1!rpi!dali.cs.montana.edu!samsung!usc!snorkelwacker!bloom-beacon!ciba-geigy.ch!bpistr From: bpistr@ciba-geigy.ch (Joseph C Pistritto) Newsgroups: comp.windows.x Subject: Finding out if you're Iconified Message-ID: <9009190847.AA25606@zit.cigy.> Date: 19 Sep 90 11:05:29 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 21 I need to find out if my application is iconified (either by the user or automatically by another program), or actually being displayed on the screen. At the moment, I'm doing this by examining the 'map_state' of the window associated with toplevel shell of the application. When this goes to 'IsUnmapped', then I assume I've been iconified and stop doing some heavy work to update the screen. When it returns to any other state, I start working again. I'm interested in knowing if there is a more 'politically correct' way of finding out whether I'm iconified. I'm using MWM & X11R4. Please reply directly to me, as I don't see this list regularly. -jcp- -- Joseph C. Pistritto (bpistr@ciba-geigy.ch, jcp@brl.mil) Ciba Geigy AG, R1241.1.01, Postfach CH4002, Basel, Switzerland Tel: +41 61 697 6155 (work) +41 61 692 1728 (home) GMT+2hrs!