🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #779

Re: Function to push a window behind other windows

#779
From: Nobuya "Higgy" Higashiyama
Date: Mon, 03 Dec 1990 13:47
25 lines
1761 bytes
In article <59325@microsoft.UUCP> petergo@microsoft.UUCP (Peter GOLDE) writes:
|>In article <1979@meaddata.meaddata.com> nxh@meaddata.com (Nobuya "Higgy" Higashiyama) writes:
|>>Help!  In my application I need to push a window to the bottom of stacked
|>>windows, but I can't seem to find a function that will do that for me.  It's
|>>pretty easy to put a window on top of every other window, since you only need
|>>to call a function.  Question is: is there a technique I can use to accomplish
|>>this in the absence of PushToBottom () function (or such)?  Thanks in
|>>advance!
>
>The Programmers reference seems to say that
>
>SetWindowPos(hWnd, 1, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW)
>
>should do the trick.  Have you tried this and found it not to work?

Yes, this will work, but only for windows that are siblings of the same parent
(please tell me if I'm wrong).  I was originally thinking about being able to
push a window behind all other windows, sibling or otherwise.

									Higgy
--
Nobuya "Higgy" Higashiyama               |  ____/|
Mead Data Central, Dayton, OH            |  \ o.O|  Vote for Bill in '92!
Internet: nxh@meaddata.com               |   =(_)=
UUCP:     uunet!meaddata!nxh             |     U     ACK! THPHTH!
Technical Details
Message-ID: <2088@meaddata.meaddata.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!uunet!meaddata!nxh
References: <1979@meaddata.meaddata.com> <59325@microsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!uunet!meaddata!nxh
From: nxh@meaddata.com (Nobuya "Higgy" Higashiyama)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Function to push a window behind other windows
Message-ID: <2088@meaddata.meaddata.com>
Date: 3 Dec 90 13:47:48 GMT
References: <1979@meaddata.meaddata.com> <59325@microsoft.UUCP>
Sender: usenet@meaddata.com
Organization: Mead Data Central, Dayton OH
Lines: 25