home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / os2 / misc / 44296 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

  1. 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
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Opinions Please -- WPS "feature"
  5. Message-ID: <1993Jan27.214815.16614@njitgw.njit.edu>
  6. Date: 27 Jan 93 21:48:15 GMT
  7. References: <81678@hydra.gatech.EDU> <1993Jan26.011516.13108@news.columbia.edu> <1993Jan26.163319.22622@novell.com>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 25
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <1993Jan26.163319.22622@novell.com> lkawecki@novell.com (Lewis Kawecki) writes:
  14. >A window should be able to take
  15. >the focus without coming to the foreground.  The window focus should be 
  16. >able to be different from the foreground window.
  17.  
  18. This is already the case.  The WM_SETFOCUS message doesn't
  19. automatically bring a window to the top.  This is simply part of some
  20. message's default processing.  Either a WM_BUTTON1DOWN in the title
  21. bar or the WM_SETFOCUS message's default processing.  If you handle
  22. this message yourself and don't give it to the system, your app can
  23. exhibit these properties as well.
  24.  
  25. If you bring yourself to the top (with a WinSetWindowPos call), you
  26. don't automatically get focus, and if you give yourself focus (also
  27. with WinSetWindowPos, with different parameters), you don't
  28. automatically get sent to the top.
  29.  
  30. So, OS/2 is well equipped to handle what you ask.  The default
  31. handlers only need minor changes.  These might even be corrected with
  32. a message queue hook by an application program.
  33. -- 
  34.   |)  David Charlap          | .signature confiscated by FBI due to
  35.  /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
  36. ((|,)                        | source of these .signature virusses
  37.  ~|~
  38.