Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What bone-head thing did I miss this time?
#4
I've used _WINDOWHANDLE before. It's basically the same as the old-school method I applied using: FindWindowA

The INKEY$ is just a =there so anyone who tests it and sees the SetActiveWindow just won't register can easily quit using the keyboard.

At this stage I don't expect the SetActiveWindow to be the complete answer, but if I coded it wrong, I can't even test out its behavior.

Oh, I've seen that add CHR$(0) to the title, but I've never had a need to do so. This one gets the handle just fine, with or without it.

Ultimately what I'm looking for is a better way than the hack I created to activate alternate opened messenger windows, here: https://qb64phoenix.com/forum/showthread...71#pid8671

Pete
Reply


Messages In This Thread
RE: What bone-head thing did I miss this time? - by Pete - 10-28-2022, 09:52 PM



Users browsing this thread: 14 Guest(s)