IDE does not get focus when debug session starts |
Site Admin
|
It's SetForegroundWindow() controls which window receives focus. PhpED certainly calls this function but there are some limitations IMPOSED by the OS:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633539(v=vs.85).aspx If such limitation didn't allow a particular application to bring itself to foreground, task bar starts flushing corresponding button. Regarding scrolling to the debugger's current line, I was unable to reproduce the problem. Please contact support and provide all the details (a sample of 1-2 files would be okay) |
||||||||||||
_________________ The PHP IDE team |
|
This worked in Windows XP, so it sounds like Microsoft have stupidly disabled perfectly acceptable behaviour for no good reason.
Have you thought of using the ForceForegroundWindow function? This is documented in http://msdn.microsoft.com/en-us/library/windows/desktop/ms633539(v=vs.85).aspx |
||||||||||||
|
Site Admin
|
and what? Those limits didn't exist even 8years ago!
Now seems they are enforced in higher level. World is changing. Perhaps, it's an MS way of fighting aginst annoying applications? I don't know. Ask MS. PS Regarding tricks with attaching gui thread (it's what behind that ForceXXXX) -- it's not a good way _because_ if it fails (because of the limits), you'll not see even flushing button in the task bar. |
||||||||||||
_________________ The PHP IDE team |
IDE does not get focus when debug session starts |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by