Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!emory!hubcap!lsalomo From: lsalomo@hubcap.clemson.edu (lsalomo) Newsgroups: comp.os.os2.programmer Subject: Re: How do you tell if you are minimized? Message-ID: <13119@hubcap.clemson.edu> Date: 14 Feb 91 15:48:32 GMT References: <1991Feb14.072730.26249@eecs.wsu.edu> Organization: Clemson University, Clemson, SC Lines: 12 From article <1991Feb14.072730.26249@eecs.wsu.edu>, by wbonner@eecs.wsu.edu (Wim Bonner): > How do I tell if my program is minimized? I don't want to pop up a dialog > box if I'm minimized, and can't seem to figure out how to tell if I am > minimized. WinQueryWindowPos(hwnd,&swp); if (swp.fs & SWP_MINIMIZE) { /* do your stuff */ } /* endif */ Cheers, Q