🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Setting a window to the front or back

#671
From: Gilbert E Hamann
Date: Wed, 21 Nov 1990 20:30
15 lines
1151 bytes
The function SetWindowPos allows you to set a Window to the top
of the list or bottom of the list.  This is done by setting the
hWndInsertAfter parameter to NULL or 1, respectively, as mentioned
in the comments section of the SDK.  Windows uses this list in
deciding what order to draw the Windows in.

Please use this function with discretion.  We are writing an application
to allow people with motor disabilities to access Windows.  It is
imperative that the program's window is at the top of the stack so that
they have complete access to it.  If applications start fighting for
this control, Windows will become drafty :-)

-- 
Gil Hamann
hamann@ecf.toronto.edu or hamann@ecf.utoronto.ca
Technical Details
Message-ID: <1990Nov21.203017.28986@ecf.utoronto.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!me!ecf!hamann

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!me!ecf!hamann
From: hamann@ecf.toronto.edu (Gilbert E Hamann)
Subject: Re: Setting a window to the front or back
Message-ID: <1990Nov21.203017.28986@ecf.utoronto.ca>
Originator: hamann@mv04.ecf
Sender: news@ecf.utoronto.ca (News Administrator)
Organization: University of Toronto, Engineering Computing Facility
Date: Wed, 21 Nov 90 20:30:17 GMT