Re: ShellExecute



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


.



Relevant Pages

  • Re: 10.5.5 Upgrade Word processor layout problems?
    ... By manually moving undocked app windows about, to ferret out the one you ... Don't most users just use Command_Tab to switch between open programs ... If you hold down the Command key it will become ... click on one of the other applications, ...
    (comp.sys.mac.apps)
  • Re: upgrade mistake
    ... switch from one big app to another I understand that all applications ... Hmm, as soon as I release the Alt+Tab key combo, the switch has always ... loaded that physical memory can accomodate does cause a slowdown but in ... That the switched-to app isn't ready isn't the OS' fault. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Applications sluggish after inactivity
    ... How do you change between background and foreground applications? ... providing Windows doesn't need RAM for something else ATM. ... How much of pocesses private virtual address space is stored in paging file? ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Forth is broken by culture?
    ... applications can of course be done in C/C++, ... and executing a function by passing args to it. ... command names can take more than a handful of lines of code. ... the application required system resources which would not be available ...
    (comp.lang.forth)
  • Re: Visual C++ versus Visual Basic
    ... Although not everyone will switch .NET applications, ... The CLR (Common Language Runtime) is proposed to exist across multiple ... Now - that doesn't mean not to learn MFC: it exist in Visual Studio ...
    (microsoft.public.vc.mfc)