🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1996

Re: 'model' window?

#1996
From: Chris Marriott
Date: Thu, 17 Dec 1992 18:29
39 lines
2219 bytes
In article <1992Dec17.084656.6252@desire.wright.edu> rocker@desire.wright.edu writes:

>In article <4748@execu.execu.com>, kevin@execu.execu.com (Kevin English)
> writes:
>> In article <1992Dec15.172737.6229@desire.wright.edu> 
>> rocker@desire.wright.edu writes:
>>>
>>>      I have a window, actually as descendant  of a fairly complex window,
>>>act like a dialog, ie. lock out all other windows and menuu, aka 'model', but
>>>not system model.
>>>
>>>      I'm using TPW 1.0 (damm purchasing dept.) and OWL and any ideas are
>>>welcomed.
>>>
>> 
>> Dave Edson wrote an excelent article in the Oct. Microsoft Systems
>> Journal : "Dave's Top Ten List of Tricks Hints, and Techniques for
>> Programming in Windows" - One of his tricks covered just this. In
>> summarry if you process the messages destined for this window with
>> IsDialogMessage() just as if the window were a modeless dialog, presto,
>> your window will have dialog like behavior.
>
>        Am I missing somethine?  How would IsDialogMesssage() lock out other
>windos?
>

IsDialogMessage() does NOT lock out other windows - what it does is to
give you the standard keyboard interface that a dialog box gets "for free" -
eg, TAB moving between controls, etc.

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Technical Details
Message-ID: <724616974snz@chrism.demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
References: <1992Dec17.084656.6252@desire.wright.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
Subject: Re: 'model' window? 
Distribution: world
References: <1992Dec17.084656.6252@desire.wright.edu>
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Lines: 39
Date: Thu, 17 Dec 1992 18:29:34 +0000
Message-ID: <724616974snz@chrism.demon.co.uk>
Sender: usenet@demon.co.uk