1. Win32Lib questions: Hiding application
- Posted by Ben Logan <wbljr79 at HOTMAIL.COM> Jan 30, 2000
- 501 views
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
2. Re: Win32Lib questions: Hiding application
- Posted by David Cuny <dcuny at LANSET.COM> Jan 30, 2000
- 477 views
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