Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Stop App from stealing focus

Posted on 2004-03-29
13
Medium Priority
?
691 Views
Last Modified: 2008-02-01
I have a shipping (CPS by Harvey Software) software that has a popup window that will steal the focus from the invoicing software (QuickBooks) about 5 seconds after going to it.

How do I stop it from stealing focus?

Thank you,
turn123
0
Comment
Question by:turn123
  • 7
  • 6
13 Comments
 
LVL 6

Expert Comment

by:jthow
ID: 10704609
TweakUI has an option to stop apps 'stealing' focus.

Micro$oft keep moving it's location so try:-

http://www.pcworld.com/howto/article/0%2Caid%2C36202%2C00.asp

JohnT
0
 
LVL 6

Expert Comment

by:jthow
ID: 10704692
Oops, sorry - that bit may not work on W2k.  :-(

JohnT
0
 
LVL 11

Author Comment

by:turn123
ID: 10704794
jthow,

Great idea!  It's actually the first thing I tried but it didn't work :-(.

turn123
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 6

Expert Comment

by:jthow
ID: 10705423
Have a look at:-

http://www.jsiinc.com/subf/tip2900/rh2909.htm

(On my system, ForegroundLockTimeout was set to 0 and that's not something I'd changed from the alleged default.  Maybe it's been changed by one of the service packs....)

JohnT
0
 
LVL 11

Author Comment

by:turn123
ID: 10706181
jthow,

It looks like my problem shouldn't exist since the value is 200000 but it does :-(.

Thank you for the suggestion and do you have any more?

Would it make a difference that the App is launching a window (part of the App)?

turn123
0
 
LVL 6

Expert Comment

by:jthow
ID: 10712130
Yes, it would.  From the above reference "Windows 2000 doesn't allow a _backround_ task to instantly steal focus."  (My emphasis.)  If it's something that's part of the foreground app then W2K will not suppress it.  My guess is your problem has something to do with the apps being integrated and the way this is handled.  That'd be a matter for the software vendor(s) rather than an OS issue.  Sorry. :-(

JohnT
0
 
LVL 11

Author Comment

by:turn123
ID: 10719925
jthow,

Watching the open processes it opens a new process but the one that steals focus is a background process.

Turn123
0
 
LVL 6

Expert Comment

by:jthow
ID: 10723591
Turn123,

Been doing some playing around and it looks like you can't do what you want. :-(

I reset  ForegroundLockTimeout to 200000.  If an app (I used Excel) is minimised and wants the focus (because it's time for a prompted autosave) then the taskbar icon flashes, but the app does not take the focus.  If an app is triggered by the task scheduler (i.e. it has to be loaded) it does take the focus.

JohnT

0
 
LVL 11

Author Comment

by:turn123
ID: 10731336
jthow,

I really appreciate you taking the time to help with this problem.

Is there any way to not allow a process to take focus ever?

Thank you,
Turn123
0
 
LVL 6

Accepted Solution

by:
jthow earned 1000 total points
ID: 10731418
Not that I know of: It's a function of the way the app is coded, rather than what the OS does with it.

JohnT
0
 
LVL 11

Author Comment

by:turn123
ID: 10732132
jthow,

Grrrr this is really frustrating as the software people say its on OS problem.

Please let me know if you think of anything else :-).

BTW, why are you paying for Premium Services?  It looks like you should be qualified for free PS.

Turn123
0
 
LVL 6

Expert Comment

by:jthow
ID: 10732280
Haven't got them to turn it off yet.  [The company's paying for it and it's not a big deal. ;-) ]

Thanks for the points.  Not sure they were deserved - you didn't get what you were after.

JohnT
0
 
LVL 11

Author Comment

by:turn123
ID: 10732312
jthow,

Your welcome :-)  Thank you for the help!

> Not sure they were deserved
http:help.jsp#hi54

I came to the same conclusion but it doesn't hurt to ask.

Turn123
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Take a look at these 6 Outlook Email management tools which can augment the working and performance of Microsoft Outlook to give you a more rewarding emailing experience.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Integration Management Part 2
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question