Article View: comp.os.os2.programmer
Article #2412Figuring out if I'm minimized?
From: Wim Bonner
Date: Thu, 14 Feb 1991 20:34
Date: Thu, 14 Feb 1991 20:34
18 lines
1225 bytes
1225 bytes
I'm still having problems with a dialog box coming up when I'm minimized.
I don't want it to come up if I'm minimized. The following fragment runs
off a WM_TIMER case as one of the things that gets checked at a specified
interval. I don't want the dialog box to pop up if I'm minimized, but it
seems to come up anyway. Can someone tell me how to make it right?
ulStyle = WS_MINIMIZED;
ulStyle &= WinQueryWindowULong(hwnd,QWL_STYLE);
if ((ulStyle != WS_MINIMIZED) && (ShowControls == TRUE))
{
ShowControls = FALSE;
WinDlgBox(hwnd, hwnd, PlayerDlgProc, (HMODULE) NULL, DFA_PlayerControl, NULL);
}
--
| wbonner@yoda.eecs.wsu.edu |
| 27313853@wsuvm1.csc.wsu.edu |
| 27313853@Wsuvm1.BITNET |
| 72561.3135@CompuServe.com |
Technical Details
Message-ID:
<1991Feb14.203411.26290@eecs.wsu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!think.com!samsung!dali.cs.montana.edu!milton!yoda.eecs.wsu.edu!wbonnerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!mintaka!think.com!samsung!dali.cs.montana.edu!milton!yoda.eecs.wsu.edu!wbonner From: wbonner@eecs.wsu.edu (Wim Bonner) Newsgroups: comp.os.os2.programmer Subject: Figuring out if I'm minimized? Message-ID: <1991Feb14.203411.26290@eecs.wsu.edu> Date: 14 Feb 91 20:34:11 GMT Reply-To: wbonner@eecs.wsu.edu (Wim Bonner) Organization: Washington State University, Pullman Lines: 18