Sign in to follow this  
Followers 0
pixartist

Start program completely in the Background

6 posts in this topic

#1 ·  Posted (edited)

Is it possible to run a windows program without letting it steal focus from the currently active application?

Run("C:\WINDOWS\system32\sndvol32.exe", "", @SW_MINIMIZE)
this still minimizes fullscreen 3d applications even though sndvol32 is run minimized Edited by pixartist

Share this post


Link to post
Share on other sites



try these:

@SW_SHOWNA

@SW_SHOWNOACTIVATE

@SW_SHOWMINNOACTIVE

doesn't work...full screen apps will still minimize

Share this post


Link to post
Share on other sites

Run a different executable, like cmd.exe . Maybe it's the program you're trying to run that activates itself. In that case, there's not much you can do about it.

Share this post


Link to post
Share on other sites

Run a different executable, like cmd.exe . Maybe it's the program you're trying to run that activates itself. In that case, there's not much you can do about it.

no it's not. the program i'm running is the standard windows xp sound volume manager(C:\WINDOWS\system32\sndvol32.exe)...it doesn't give focus to itself, why should it ?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

You're assuming it doesn't activate itself based on your ideas of how software should behave. In the real world, software doesn't always behave like you think it does.

Just try it with another app.

Edited by Manadar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0