home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / ms / programm / 7300 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.1 KB

  1. Xref: sparky comp.windows.ms.programmer:7300 comp.os.ms-windows.programmer.misc:947
  2. Path: sparky!uunet!invlogic!mmclagan
  3. From: mmclagan@invlogic.com (Mike McLagan)
  4. Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
  5. Subject: EnableWindow(hWnd,FALSE) when window has focus
  6. Distribution: world
  7. Message-ID: <711770052snx@invlogic.com>
  8. Date: Wed, 22 Jul 92 01:54:12 GMT
  9. Organization: Innovative Logic Corporation
  10. Lines: 16
  11.  
  12. Hi,
  13.  
  14.    Got a curious one for everyone, and hopefully some sort of quick response.
  15. I've seen this happen in Win 3.1 and it's rather strange.  We have a program
  16. that does EnableWindow(false) and then about 15 lines later does a GetFocus
  17. and ends up with a 0?!  Has the window that was enabled eaten the focus up
  18. somehow?  The docs for win 3.1 sdk don't mention this little glitch!  Has
  19. anyone else encountered this?
  20.  
  21.    Mike was here...
  22.  
  23. // email   -> "Mike McLagan" <mmclagan@invlogic.com>
  24. // UUCP    ->  ...uunet!invlogic!mmclagan
  25. // snail   -> Innovative Logic Corp, P.O. Box 3247 Laurel, MD, USA 20709-3247
  26. // ma bell -> (301)206-7692
  27. // ILC doesn't like my opinions, so I'm giving them to you without consent!
  28.