Shells and Multi-Monitor
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
Shells and Multi-Monitor

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
Pascal Bouchard
Guest





Posted: Mon Dec 20, 2004 9:23 pm    Post subject: Shells and Multi-Monitor Reply with quote

Monday morning questions....

I have two applications that must be ran at startup of my target; one is a
..NET based application and the second is WMP (Window Media Player); i have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably have
to call a few other processes at startup).

Regards.
Back to top
Slobodan Brcin (eMVP)
Guest





Posted: Mon Dec 20, 2004 9:37 pm    Post subject: Re: Shells and Multi-Monitor Reply with quote

Hi Pascal,

Quote:
Do i have to create two shells ?
This won't do any good for you :-(


Quote:
If my .NET application is copied manually (not a component), is a shell
possible anyway ?

Yes. Just modify registry to point to your app.

Quote:
How can i specify on which monitor to display both application ?
You must make your application that will start all programs and then tell them where to show them self.


Quote:
How can i specify FullScreenMode for WMP ?
From your shell application.


Quote:
What is the best strategy for applications at startup (i will probably have
to call a few other processes at startup).

Use CreateProcess from you shell application and you will be ok.

Regards,
Slobodan
PS:
For more info please ask more direct questions.

"Pascal Bouchard" <pascal.bouchard@rfranco.ca> wrote in message news:OU%23rEBr5EHA.3908@TK2MSFTNGP12.phx.gbl...
Quote:
Monday morning questions....

I have two applications that must be ran at startup of my target; one is a
.NET based application and the second is WMP (Window Media Player); i have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably have
to call a few other processes at startup).

Regards.

Back to top
Pascal Bouchard
Guest





Posted: Tue Dec 21, 2004 2:12 am    Post subject: Re: Shells and Multi-Monitor Reply with quote

If i understand well, i shall write a shell application; that application
will starts all my processes using CreateProcess(); position and state
behaviors will be passed as arguments to the started processes ?

Thanks.

"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:uYdf6Hr5EHA.1448@TK2MSFTNGP10.phx.gbl...
Quote:
Hi Pascal,

Do i have to create two shells ?
This won't do any good for you :-(

If my .NET application is copied manually (not a component), is a shell
possible anyway ?

Yes. Just modify registry to point to your app.

How can i specify on which monitor to display both application ?
You must make your application that will start all programs and then tell
them where to show them self.

How can i specify FullScreenMode for WMP ?
From your shell application.

What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Use CreateProcess from you shell application and you will be ok.

Regards,
Slobodan
PS:
For more info please ask more direct questions.

"Pascal Bouchard" <pascal.bouchard@rfranco.ca> wrote in message
news:OU%23rEBr5EHA.3908@TK2MSFTNGP12.phx.gbl...
Monday morning questions....

I have two applications that must be ran at startup of my target; one is
a
.NET based application and the second is WMP (Window Media Player); i
have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Regards.



Back to top
KM
Guest





Posted: Tue Dec 21, 2004 2:38 am    Post subject: Re: Shells and Multi-Monitor Reply with quote

Pascal,

Quote:
If i understand well, i shall write a shell application; that application
will starts all my processes using CreateProcess();

Correct.

Quote:
position and state behaviors will be passed as arguments to the started processes ?

It is going to be up to you and your app implementation. E.g., if you launch WMP as a standalone app - you pass <fullscreen> command
line switch (or whatever it is called). If you create an instance of WMP COM object(s), you specify the FullScreen mode through
properties, etc.

--
Regards,
KM, BSquare Corp.


Quote:
Hi Pascal,

Do i have to create two shells ?
This won't do any good for you :-(

If my .NET application is copied manually (not a component), is a shell
possible anyway ?

Yes. Just modify registry to point to your app.

How can i specify on which monitor to display both application ?
You must make your application that will start all programs and then tell
them where to show them self.

How can i specify FullScreenMode for WMP ?
From your shell application.

What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Use CreateProcess from you shell application and you will be ok.

Regards,
Slobodan
PS:
For more info please ask more direct questions.

"Pascal Bouchard" <pascal.bouchard@rfranco.ca> wrote in message
news:OU%23rEBr5EHA.3908@TK2MSFTNGP12.phx.gbl...
Monday morning questions....

I have two applications that must be ran at startup of my target; one is
a
.NET based application and the second is WMP (Window Media Player); i
have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Regards.





Back to top
Pascal Bouchard
Guest





Posted: Tue Dec 21, 2004 3:10 am    Post subject: Re: Shells and Multi-Monitor Reply with quote

At this point, almost everything is done; i wrote a VB.Net application with
WMP activex control; the only remaining thing is to select my second audio
device for playback... do you have a hint for me ?

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:OpLU9ut5EHA.2196@TK2MSFTNGP14.phx.gbl...
Quote:
Pascal,

If i understand well, i shall write a shell application; that application
will starts all my processes using CreateProcess();

Correct.

position and state behaviors will be passed as arguments to the started
processes ?

It is going to be up to you and your app implementation. E.g., if you
launch WMP as a standalone app - you pass <fullscreen> command
line switch (or whatever it is called). If you create an instance of WMP
COM object(s), you specify the FullScreen mode through
properties, etc.

--
Regards,
KM, BSquare Corp.


Hi Pascal,

Do i have to create two shells ?
This won't do any good for you :-(

If my .NET application is copied manually (not a component), is a
shell
possible anyway ?

Yes. Just modify registry to point to your app.

How can i specify on which monitor to display both application ?
You must make your application that will start all programs and then
tell
them where to show them self.

How can i specify FullScreenMode for WMP ?
From your shell application.

What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Use CreateProcess from you shell application and you will be ok.

Regards,
Slobodan
PS:
For more info please ask more direct questions.

"Pascal Bouchard" <pascal.bouchard@rfranco.ca> wrote in message
news:OU%23rEBr5EHA.3908@TK2MSFTNGP12.phx.gbl...
Monday morning questions....

I have two applications that must be ran at startup of my target; one
is
a
.NET based application and the second is WMP (Window Media Player); i
have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a
shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Regards.







Back to top
KM
Guest





Posted: Tue Dec 21, 2004 4:44 am    Post subject: Re: Shells and Multi-Monitor Reply with quote

Pascal,

Not sure what hint you are looking for if you have already done everything :-)

You are looking for a way to enumerate devices from WMP (what version?)?
Something like this: http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/enumeratingdevices.asp ?

--
Regards,
KM, BSquare Corp.


Quote:
At this point, almost everything is done; i wrote a VB.Net application with
WMP activex control; the only remaining thing is to select my second audio
device for playback... do you have a hint for me ?

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:OpLU9ut5EHA.2196@TK2MSFTNGP14.phx.gbl...
Pascal,

If i understand well, i shall write a shell application; that application
will starts all my processes using CreateProcess();

Correct.

position and state behaviors will be passed as arguments to the started
processes ?

It is going to be up to you and your app implementation. E.g., if you
launch WMP as a standalone app - you pass <fullscreen> command
line switch (or whatever it is called). If you create an instance of WMP
COM object(s), you specify the FullScreen mode through
properties, etc.

--
Regards,
KM, BSquare Corp.


Hi Pascal,

Do i have to create two shells ?
This won't do any good for you :-(

If my .NET application is copied manually (not a component), is a
shell
possible anyway ?

Yes. Just modify registry to point to your app.

How can i specify on which monitor to display both application ?
You must make your application that will start all programs and then
tell
them where to show them self.

How can i specify FullScreenMode for WMP ?
From your shell application.

What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Use CreateProcess from you shell application and you will be ok.

Regards,
Slobodan
PS:
For more info please ask more direct questions.

"Pascal Bouchard" <pascal.bouchard@rfranco.ca> wrote in message
news:OU%23rEBr5EHA.3908@TK2MSFTNGP12.phx.gbl...
Monday morning questions....

I have two applications that must be ran at startup of my target; one
is
a
.NET based application and the second is WMP (Window Media Player); i
have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a
shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Regards.









Back to top
Benjamin Madsen
Guest





Posted: Tue Dec 21, 2004 5:05 am    Post subject: Re: Shells and Multi-Monitor Reply with quote

You probably want to take advantage of EnumDisplayDevices and
DEVMODE.dmPosition. Then set the app window in one screen and the
container window for the WMP activeX control on the other screen.
DEVMODE.dmPelsWidth and DEVMODE.dmPelsHeight will give you the
resolution, so you can then layout your windows accordingly.

-Ben

Ben Madsen
Systems Engineer
Massie Laboratories, Inc.
http://www.massie-labs.com

Pascal Bouchard wrote:
Quote:
At this point, almost everything is done; i wrote a VB.Net application with
WMP activex control; the only remaining thing is to select my second audio
device for playback... do you have a hint for me ?

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:OpLU9ut5EHA.2196@TK2MSFTNGP14.phx.gbl...

Pascal,


If i understand well, i shall write a shell application; that application
will starts all my processes using CreateProcess();

Correct.


position and state behaviors will be passed as arguments to the started
processes ?

It is going to be up to you and your app implementation. E.g., if you
launch WMP as a standalone app - you pass <fullscreen> command
line switch (or whatever it is called). If you create an instance of WMP
COM object(s), you specify the FullScreen mode through
properties, etc.

--
Regards,
KM, BSquare Corp.



Hi Pascal,


Do i have to create two shells ?

This won't do any good for you :-(


If my .NET application is copied manually (not a component), is a
shell
possible anyway ?

Yes. Just modify registry to point to your app.


How can i specify on which monitor to display both application ?

You must make your application that will start all programs and then
tell
them where to show them self.


How can i specify FullScreenMode for WMP ?

From your shell application.


What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Use CreateProcess from you shell application and you will be ok.

Regards,
Slobodan
PS:
For more info please ask more direct questions.

"Pascal Bouchard" <pascal.bouchard@rfranco.ca> wrote in message
news:OU%23rEBr5EHA.3908@TK2MSFTNGP12.phx.gbl...

Monday morning questions....

I have two applications that must be ran at startup of my target; one
is
a
.NET based application and the second is WMP (Window Media Player); i
have
two monitors and as much display adapter; (indeed, one application per
monitor)

Do i have to create two shells ?
If my .NET application is copied manually (not a component), is a
shell
possible anyway ?
How can i specify on which monitor to display both application ?
How can i specify FullScreenMode for WMP ?
What is the best strategy for applications at startup (i will probably
have
to call a few other processes at startup).

Regards.







Back to top
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB