WinApi - How To Prevent A Window From Opening -
can forbid new windows open on windows ? want prevent window steals focus not split second.
is possible ? , if yes how ?
// not sure if can correct 1 letter mistakes on stackoverfl0w
no, there isn't such thing (modulo "secure desktop" scenarios) , it's good thing too. why? because there shouldn't be. such program, if coded, wouldn't let me click on taskbar...
imagine, second, such feature available. imagine 2 applications both thought important should have focus all time. both "i'm super important. don't let steal focus." , then... what?
this bad design. design program sensibly , realize it's very very unlikely important , amazing users won't want switch else.
and keep 1 simple fact in mind: computer belongs me, not you, , if i want open new window, tell me can't?
Comments
Post a Comment