1. Notification Of Window Existance
- Posted by brian_keene at yahoo.com Aug 28, 2001
- 394 views
Is there a way for Windows to notify a EU prog. that a window has been created? What I want to do is have a Euphoria prog. sitting out there waiting for any window to be created. When it comes up on the screen, the prog. will check to see if it is 1 of the allowed Windows, and if it isn't 1 of those allowed, it will close the window. This will allow it to be running installation scripts that need keyboard input (that the prog. will provide) but not allow anyone to start up anything that might interfere with the installation. I don't want to periodically run thru a list of currently running progs., since this will be constantly changing. I would like Windows just to notify the prog. with say some kind of event alarm so that the only time the list of currently running progs. needs to be checked is when the alarm is sounded. Regards Brian Keene
2. Re: Notification Of Window Existance
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Aug 29, 2001
- 356 views
> Is there a way for Windows to notify a EU prog. that a window has been > created? > > What I want to do is have a Euphoria prog. sitting out there waiting > for any window to be created. When it comes up on the screen, the > prog. will check to see if it is 1 of the allowed Windows, and if it > isn't 1 of those allowed, it will close the window. This will allow it > to be running installation scripts that need keyboard input (that the > prog. will provide) but not allow anyone to start up anything that > might interfere with the installation. > > I don't want to periodically run thru a list of currently running > progs., since this will be constantly changing. I would like Windows > just to notify the prog. with say some kind of event alarm so that the > only time the list of currently running progs. needs to be checked is > when the alarm is sounded. > > Regards > Brian Keene I don't think that's possible, you'll just have to go through all running windows every half-second or something. I don't really see why this is a problem though, it shouldn't really cause any performance problems... Have a look at my window finding functions at: http://www.rat-software.com/projects.html They might be useful... Thomas Parslow (PatRat) ICQ #:26359483 Rat Software http://www.rat-software.com/ Please leave quoted text in place when replying