home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!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: <322@nsq.uucp>
- Date: 4 Sep 92 14:23:52 GMT
- References: <302@nsq.uucp> <sysop.0csc@alphanet.alphanet.ch> <318@nsq.uucp> <34822@cbmvax.commodore.com>
- Organization: NSQ
- Lines: 31
-
- In article <34822@cbmvax.commodore.com>, peter@cbmvax.commodore.com (Peter Cherna) writes:
- >
- > If you care to elaborate on the effect you wish to achieve, someone might
- > help you with a system-friendly and user-friendly approach.
-
- Sure. All I wanted to do was open up a window on top of a foreign
- applications screen and not pass control back to the foreign program until I
- have closed my window. I want it to work under 1.3 as well so public screens
- etc are out of the question anyhow.
-
- Why do I want to do this? Essentially I'm writing a patch that will give the
- user an easy way to dynamically change the palette per scanline while using
- another program such as Dpaint or DigiPaint. I need to do all kinds of low
- level messing around anyhow just to ensure that the system likes my custom
- copperlist and to maintain current resolutions/modes etc. I could go the easy
- route and simply disable multitasking while my code is going, but I wanted to
- keep multitasking alive and so I'm doing the 'hardware level/system friendly'
- approach ;-) For game and demo designers, this program would be invaluable.
- I can just imagine all the agony the artist for 'agony/psygnosis' went through
- without a utility such as this :)
-
- If you have any ideas on how to lock the window input to only MY window then
- great -- email me the solution. Requestors are not a viable solution. I
- don't mind setfunctioning etc. because I already have a VB interrupt which
- tells me when I'm on my applicaitons screen or not, so I can doa passthrough
- when it's not my application, and otherwise intercept it. I already do this
- with CloseScreen() to make sure the application (eg. dpaint) doesnt shut down
- while my window is still active. In other words, I AM trying to make it very
- system friendly... just the individual approaches in themselves would normally
- not be considered 'good programming practice'. Such is life.
-
-