Article View: comp.os.os2.programmer
Article #2413Re: Figuring out if I'm minimized?
From: lsalomo
Date: Thu, 14 Feb 1991 22:08
Date: Thu, 14 Feb 1991 22:08
15 lines
1098 bytes
1098 bytes
From article <1991Feb14.203411.26290@eecs.wsu.edu>, by wbonner@eecs.wsu.edu (Wim Bonner):
> 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);
> }
This seems like a roundabout way of checking for minimize, but it LOOKS
correct. Are you sure that ShowControls==TRUE? Have you tried CodeView-ing
it to watch the control flow (i.e. maybe your WinDlgBox call is failing?)?
Cheers,
Q
Technical Details
Message-ID:
<13128@hubcap.clemson.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!att!linac!uwm.edu!zaphod.mps.ohio-state.edu!wuarchive!emory!hubcap!lsalomoReferences:
<1991Feb14.203411.26290@eecs.wsu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!att!linac!uwm.edu!zaphod.mps.ohio-state.edu!wuarchive!emory!hubcap!lsalomo From: lsalomo@hubcap.clemson.edu (lsalomo) Newsgroups: comp.os.os2.programmer Subject: Re: Figuring out if I'm minimized? Message-ID: <13128@hubcap.clemson.edu> Date: 14 Feb 91 22:08:06 GMT References: <1991Feb14.203411.26290@eecs.wsu.edu> Organization: Clemson University, Clemson, SC Lines: 15