home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / win32 / 2633 < prev    next >
Encoding:
Text File  |  1993-01-01  |  2.1 KB  |  41 lines

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