home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4321 < prev    next >
Encoding:
Text File  |  1992-12-18  |  2.1 KB  |  54 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. From: chris@chrism.demon.co.uk (Chris Marriott)
  3. Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
  4. Subject: Re: 'model' window? 
  5. Distribution: world
  6. References: <1992Dec17.084656.6252@desire.wright.edu>
  7. Organization: None
  8. Reply-To: chris@chrism.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
  10. Lines: 39
  11. Date: Thu, 17 Dec 1992 18:29:34 +0000
  12. Message-ID: <724616974snz@chrism.demon.co.uk>
  13. Sender: usenet@demon.co.uk
  14.  
  15. In article <1992Dec17.084656.6252@desire.wright.edu> rocker@desire.wright.edu writes:
  16.  
  17. >In article <4748@execu.execu.com>, kevin@execu.execu.com (Kevin English)
  18. > writes:
  19. >> In article <1992Dec15.172737.6229@desire.wright.edu> 
  20. >> rocker@desire.wright.edu writes:
  21. >>>
  22. >>>      I have a window, actually as descendant  of a fairly complex window,
  23. >>>act like a dialog, ie. lock out all other windows and menuu, aka 'model', but
  24. >>>not system model.
  25. >>>
  26. >>>      I'm using TPW 1.0 (damm purchasing dept.) and OWL and any ideas are
  27. >>>welcomed.
  28. >>>
  29. >> 
  30. >> Dave Edson wrote an excelent article in the Oct. Microsoft Systems
  31. >> Journal : "Dave's Top Ten List of Tricks Hints, and Techniques for
  32. >> Programming in Windows" - One of his tricks covered just this. In
  33. >> summarry if you process the messages destined for this window with
  34. >> IsDialogMessage() just as if the window were a modeless dialog, presto,
  35. >> your window will have dialog like behavior.
  36. >
  37. >        Am I missing somethine?  How would IsDialogMesssage() lock out other
  38. >windos?
  39. >
  40.  
  41. IsDialogMessage() does NOT lock out other windows - what it does is to
  42. give you the standard keyboard interface that a dialog box gets "for free" -
  43. eg, TAB moving between controls, etc.
  44.  
  45. Chris
  46. -- 
  47. --------------------------------------------------------------------------
  48. | Chris Marriott                           | chris@chrism.demon.co.uk    |
  49. | Warrington, UK                           | BIX: cmarriott              |
  50. | (Still awaiting inspiration              | CIX: cmarriott              |
  51. |  for a witty .sig .... )                 | CompuServe: 100113,1140     |
  52. --------------------------------------------------------------------------
  53.  
  54.