home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!geac!censor!comspec!nsq!entity
- From: entity@nsq.uucp (cybernetworx)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Locking Window Input -- How?
- Message-ID: <302@nsq.uucp>
- Date: 28 Aug 92 20:59:06 GMT
- Reply-To: entity@nsq.uucp (cybernetworx)
- Organization: NSQ
- Lines: 28
-
- Ok, I need to know how to do the following as I don't think it's supported by
- the operating system:
-
- I want to open a foreign window on an applications screen and then lock the
- input strictly to that window so that the user cannot click back to the
- application until I release the window (close it or whatever). I've gone
- through the RKM's and can't seem to find anything that does this.
-
- The method DOESN'T have to be friendly or anything.. as long as it works. I
- would however like to keep the entire thing system friendly in the sense that
- it doesn't screw up any other tasks etc. However, it can do anything as long
- as it's restricted to the current screen. (my VB handler keeps track of that)
-
- I fooled around with various methods, and the best I could come up with was to
- have a VB interrupt which checks to see if I am on the proper screen and if
- so, I force MY window to be the active window by stuffing it's address in
- Intuition Bases's ib_ActiveWindow pointer. This sort of works, but doesn't
- give exactly the results I'm looking for.
-
- If you have any ideas, please let me know. I definitely don't want any idiots
- telling me that what I'm doing is not system friendly etc. I know that. It's
- not relevant in this case. If you've got a nice system compliant way of doing
- it, great! I'll use it... if not, any method will do :-)
-
- I would prefer direct email response since I can never find the time to keep
- up with this newsgroup. Thanks!
-
-
-