Re: Rendewring a window on top of a screen saver

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



> how do I create a window on a specific desktop?
You may use a helper application to call CreateProcess on your application
with STARTUPINFO.lpDesktop set to specific desktop (eg. winsta0\default).
Then the application will be started in the desktop you specified.
You can reference following document for more information on STARTUPINFO
structure
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/bas
e/startupinfo_str.asp

In addition, we can create our own destop on a windowstation by using
CreateDesktop.

Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.

.



Relevant Pages

  • Re: Using PsSetCreateProcessNotifyRoutine on Terminal Services
    ... CreateProcessAsUseronly start a new process in the session the ... service using CreateProcess(), this is the console session -- and only the ... Author of "Windows Server 2003 Terminal Services", ... I'd think that the window station's user ...
    (microsoft.public.windows.terminal_services)
  • CreateProcess
    ... CreateProcess but finding the hwnd of the process is giving me troubles. ... EnumWindows searching for the window that has the treadID returned by ... I trying to call::GetWindowInfo in the EnumWindows ...
    (microsoft.public.vc.atl)
  • Re: How to run a program silently with CreateProcessWithLogonW()?
    ... I don't have a window showing up when I used ... > The first thing was that I didn't see any console window and per our ... > default characteristics from that of CreateProcess(). ... > STARTUPINFOW si; ...
    (microsoft.public.win32.programmer.kernel)
  • Re: WinHelp on W2003 SP1
    ... it looks like if I have to I can use CreateProcess to make the help ... window each time, there could be lots of open windows. ... > process terminates. ... >> 3> in Log On tabpage, if you log on your service as Local System Account, ...
    (microsoft.public.win32.programmer.tools)
  • Re: How to run a program silently with CreateProcessWithLogonW()?
    ... The first thing was that I didn't see any console window and per our ... default characteristics from that of CreateProcess(). ... I don't see a problem atleast under test ...
    (microsoft.public.win32.programmer.kernel)