Re: ShellExecute
- From: "Sander Martens" <koningsander@xxxxxxx>
- Date: Wed, 18 Jan 2006 18:43:55 +0100
Yes it's about Media Player Classic.
I've got two applications that run in fullscreen.
When one of the two applications starts the other one is already running in
full screen mode.
So the new opened application shows up in the foreground. Problem is that
when it starts, for a split second
you see the application not fullscreen and after a second it switches to
fullscreen. I want the applications to
switch without any 'mess' in between. So I thought, let the newly executed
program switch to fullscreen in the
background and then show up in the foreground.
"Nicholas Sherlock" <N.sherlock@xxxxxxxxx> schreef in bericht
news:dqjh31$a5r$1@xxxxxxxxxxxxxxxxxx
> Sander Martens wrote:
>> Hi all,
>>
>> I'm trying to start a program while another program is already running in
>> the foreground.
>> What I want is that the program I'm executing will stay in the
>> background.
>> ( the executed program will run fullscreen )
>>
>> I tried this:
>>
>> ShellExecute(Handle, 'open', PChar('C:\Program Files\Media Player
>> Classic\mplayerc.exe'),FileNameBuffer,nil, SW_HIDE);
>>
>> But this program shows up in the foreground.
>>
>> What can I do?
>
> Are you really asking about Media Player Classic, or was that just an
> example? MPC is always on-top of everything when it plays fullscreen.
>
> Cheers,
> Nicholas Sherlock
.
- References:
- ShellExecute
- From: Sander Martens
- Re: ShellExecute
- From: Nicholas Sherlock
- ShellExecute
- Prev by Date: Re: The bad coder joke =D
- Next by Date: Re: Purchasing Delphi 2005 - help please
- Previous by thread: Re: ShellExecute
- Next by thread: Installing many packages slows down compiler ?
- Index(es):
Relevant Pages
|