Re: Win32Lib questions: Hiding application

new topic     » goto parent     » topic index » view thread      » older message » newer message

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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu