-
November 17th, 2008, 02:12 AM
#1
MS Windows, How to display to selected desktop ?
Hi, dear all:
In MS Windows, in my program (a service), I need to set display to another Desktop ( a service seems always show on Default desktop ),
in Unix/Linux, there is a parameter DISPLAY ...., but how can I do it in MS windows ?
Thanks !!
-
November 18th, 2008, 01:02 PM
#2
Re: MS Windows, How to display to selected desktop ?
As far as I know, you cannot just display a window on another desktop.
You can however launch a new process on another desktop. See the http://msdn.microsoft.com/en-us/libr...px]STARTUPINFO parameter to CreateProcess. It allows you to specify the desktop.
-
November 18th, 2008, 09:33 PM
#3
Re: MS Windows, How to display to selected desktop ?
Originally Posted by Marc G
Thank you, Marc G.
but page not found ....
The MessageBox() seems can show on any desktop, if it has the type MB_SERVICE_NOTIFICATION set, but not sure if it makes a new process or not. so I think maybe there are ways to show on another desktop.
-
November 20th, 2008, 06:32 AM
#4
Re: MS Windows, How to display to selected desktop ?
Originally Posted by jesvh
page not found....
just a typo:
http://msdn.microsoft.com/en-us/libr...31(VS.85).aspx
-
November 20th, 2008, 09:10 PM
#5
Re: MS Windows, How to display to selected desktop ?
Originally Posted by LoKi_79
Thanks for your help !
-
November 21st, 2008, 09:15 AM
#6
Re: MS Windows, How to display to selected desktop ?
Yes, sorry about the typo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|