🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2410

Re: How do you tell if you are minimized?

#2410
From: lsalomo
Date: Thu, 14 Feb 1991 15:48
12 lines
819 bytes
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
Technical Details
Message-ID: <13119@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!emory!hubcap!lsalomo
References: <1991Feb14.072730.26249@eecs.wsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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