pixartist Posted August 25, 2009 Share Posted August 25, 2009 (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 August 25, 2009 by pixartist Link to comment Share on other sites More sharing options...
jvanegmond Posted August 25, 2009 Share Posted August 25, 2009 try these:@SW_SHOWNA@SW_SHOWNOACTIVATE@SW_SHOWMINNOACTIVE github.com/jvanegmond Link to comment Share on other sites More sharing options...
pixartist Posted August 25, 2009 Author Share Posted August 25, 2009 try these:@SW_SHOWNA@SW_SHOWNOACTIVATE@SW_SHOWMINNOACTIVEdoesn't work...full screen apps will still minimize Link to comment Share on other sites More sharing options...
jvanegmond Posted August 25, 2009 Share Posted August 25, 2009 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. github.com/jvanegmond Link to comment Share on other sites More sharing options...
pixartist Posted August 25, 2009 Author Share Posted August 25, 2009 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 ? Link to comment Share on other sites More sharing options...
jvanegmond Posted August 25, 2009 Share Posted August 25, 2009 (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 August 25, 2009 by Manadar github.com/jvanegmond Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now