home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!gmd.de!newsserver.jvnc.net!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
- From: dic5340@hertz.njit.edu (David Charlap)
- Newsgroups: comp.os.os2.misc
- Subject: Re: Opinions Please -- WPS "feature"
- Message-ID: <1993Jan27.214815.16614@njitgw.njit.edu>
- Date: 27 Jan 93 21:48:15 GMT
- References: <81678@hydra.gatech.EDU> <1993Jan26.011516.13108@news.columbia.edu> <1993Jan26.163319.22622@novell.com>
- Sender: news@njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Lines: 25
- Nntp-Posting-Host: hertz.njit.edu
-
- In article <1993Jan26.163319.22622@novell.com> lkawecki@novell.com (Lewis Kawecki) writes:
- >A window should be able to take
- >the focus without coming to the foreground. The window focus should be
- >able to be different from the foreground window.
-
- This is already the case. The WM_SETFOCUS message doesn't
- automatically bring a window to the top. This is simply part of some
- message's default processing. Either a WM_BUTTON1DOWN in the title
- bar or the WM_SETFOCUS message's default processing. If you handle
- this message yourself and don't give it to the system, your app can
- exhibit these properties as well.
-
- If you bring yourself to the top (with a WinSetWindowPos call), you
- don't automatically get focus, and if you give yourself focus (also
- with WinSetWindowPos, with different parameters), you don't
- automatically get sent to the top.
-
- So, OS/2 is well equipped to handle what you ask. The default
- handlers only need minor changes. These might even be corrected with
- a message queue hook by an application program.
- --
- |) David Charlap | .signature confiscated by FBI due to
- /|_ dic5340@hertz.njit.edu | an ongoing investigation into the
- ((|,) | source of these .signature virusses
- ~|~
-