home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!utzoo!censor!comspec!nsq!entity
- From: entity@nsq.uucp (cybernetworx)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Locking Window Input -- How?
- Message-ID: <318@nsq.uucp>
- Date: 1 Sep 92 14:47:47 GMT
- References: <302@nsq.uucp> <sysop.0csc@alphanet.alphanet.ch>
- Organization: NSQ
- Lines: 19
-
- In article <sysop.0csc@alphanet.alphanet.ch>, sysop@alphanet.alphanet.ch (Marc SCHAEFER) writes:
- > In article <302@nsq.uucp> entity@nsq.uucp (cybernetworx) writes:
- > >Ok, I need to know how to do the following as I don't think it's supported by
- > >the operating system:
- >
- > Yes it is. Close the other windows.
-
- Gee, thanks. You're so witty. If you didn't mean it as a joke, then the point
- is that I need to keep all the other windows active. In any case, I've gotten
- various replies to this, and I think I've got one that might actually do
- exactly what I need. The basic idea is you take your current screen and save
- all the IDCMP flags for all windows on that screen. Then you nullify their
- IDCMP flags for the duration that my window is open and restore them when I
- close my window. Of course I'll patch CloseWindow and CloseScreen to make
- sure that nothing hokey happens by putting in my own additional checks.
-
- The idea of having your window send an INACTIVEWINDOW and calling
- ActiveWindow() at this signal will probably not work well because it's slow.
-
-