home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Sirius.dfn.de!solaris.rz.tu-clausthal.de!root
- From: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
- Subject: Re: Want a windows program to come up at boot
- Message-ID: <1993Jan1.202014.10039@solaris.rz.tu-clausthal.de>
- News-Software: IBM OS/2 PM RN (NR/2) v0.16 by O. Vishnepolsky and R. Rogers
- Lines: 27
- Sender: root@solaris.rz.tu-clausthal.de (Operator)
- Reply-To: hochstae@allfiwib1.wiwi.uni-marburg.de (Christoph H. Hochstaetter)
- Organization: Techn. Univ. Clausthal
- References: <1992Dec18.231403.27205@ttinews.tti.com>
- Date: Fri, 1 Jan 1993 20:20:14 GMT
-
- In <1992Dec18.231403.27205@ttinews.tti.com> terence@tanru.tti.com ( Terry) writes:
- >
- >We are trying to get a program to start at boot-up. I've investigated the
- >Service API and can get the program started. The problem is the NT
- >logon screen, it is always in the foreground. I know the window is up
- >since I put a Beep() just before the message loop starts but I don't see
- >the main window of my application, just the logon screen. If I then
- >logon the very first window displayed, before the program manager, is the
- >main window of my application.
- >
- >I looked at the clock program that comes with NT. It has an "Always on top"
- >selection. I used spy and discovered that clock creates a timer. Is clock
- >using ShowWindow at each timer message to keep itself up front? Would this
- >override winlogon?
-
- No, you can't display any windows, while no one is logged on, because
- WINLOGON.EXE has exclusive ownership of the screen device. You can run
- programs using the Service API, but you can't display anything.
-
-
- Christoph
- -------------------------------------------------------+-----------------------
- Christoph H. Hochstaetter, Philipps-University Marburg | Universitaetsstr. 25
- Internet: hochstae@allfiwib1.wiwi.uni-marburg.de | D-W-3550 Marburg
- Bitnet : HAMPE2 AT DMRHRZ11 | Germany
- Fido : 2:243/660 | Phone +49-6421-28-7092
- Fax : +49-6421-28-4858 |
-