Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Potential Bug in elm.invoke?
#2
It is a bug in that control. Invoke() just asks it to do something. When DPI-related anomalies happen, try to find/get the element with flag UIA. In this case there is no flag, but a bool parameter. Try
Code:
Copy      Help
elm.focused(true);

-----

This probably isn't the reason, but child windows cannot be activated and therefore c.Activate() activates w instead. You may want to c.Focus().


Messages In This Thread
Potential Bug in elm.invoke? - by netdude78 - 02-08-2022, 05:50 PM
RE: Potential Bug in elm.invoke? - by Gintaras - 02-08-2022, 06:14 PM
RE: Potential Bug in elm.invoke? - by Gintaras - 02-09-2022, 10:38 AM
RE: Potential Bug in elm.invoke? - by netdude78 - 02-09-2022, 03:56 PM
RE: Potential Bug in elm.invoke? - by Gintaras - 02-10-2022, 01:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)