topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 11:50 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Prevent windows stealing focus  (Read 3832 times)

datamess

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
IDEA: Prevent windows stealing focus
« on: February 18, 2019, 02:53 AM »
the issue is that on typing something a popup will appear, and the user ignorant of this, presses enter. depending on what program made that popup - the effects could be VERY bad (files being deleted etc!)

So a mini program to prevent all programs from stealing focus of input. And also - appearing off to the side, like toasties in windows. possibly even in a single column so that the user can deal with them all at once when they are done doing whatever they are doing. ONLY the active program can have popup windows in cetner - but tehy are still not stealing focus.

??

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,641
    • View Profile
    • Donate to Member
Re: IDEA: Prevent windows stealing focus
« Reply #1 on: February 18, 2019, 03:14 AM »
If someone ever finds the answer to this they should send it to Microsoft since even they can't get it to happen/work.

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: IDEA: Prevent windows stealing focus
« Reply #2 on: February 18, 2019, 05:42 AM »
or, equally likely, go the other way and have an application make your loudspeaker say beep, whenever a window is popping up...

BGM

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 562
    • View Profile
    • bgmCoder DC
    • Read more about this member.
    • Donate to Member
Re: IDEA: Prevent windows stealing focus
« Reply #3 on: February 18, 2019, 11:23 AM »
If someone ever finds an answer to this, so should let me know so I can stop suffering.  I've been searching for this fountain of sanity for years... 

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: Prevent windows stealing focus
« Reply #4 on: February 19, 2019, 03:57 AM »
It's a good idea.. I don't think it would be too hard, it would just require a way for the user to easily add exceptions for certain programs that should be allowed to pop-up and steal focus.
So on seeing a new app take focus that wasn't triggered by a mouse click, the utility would put focus back on last window and show an alert and let the user indicate that they want that app to be able to take focus in the future, etc.