1. Win32Lib questions: Hiding application

Is there a way to prevent a Win32Lib app from appearing on the task bar?
I'm writing a program that will run in the background all the time, and I
don't want it to show up until it detects a certain condition.

Also, can I prevent someone from closing my application unless they have a
password?  I thought about the onClose event, but that seems a little late.

Thanks,

Ben
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: Win32Lib questions: Hiding application

Ben Logan wrote:

> Also, can I prevent someone from closing my application unless they have a
> password?  I thought about the onClose event, but that seems a little
late.

You can trap the WM_DESTROY message using onEvent, and return True to
prevent it from being processed if some flag isn't set. The application can
still be shut down with Ctrl+Alt+Del.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu