Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
For Pete -- Keeping a window topmost and active
#4
Yep, that's another trick, but _SCREENCLICK has lot of drawbacks. In your example, it hijacks the mouse pointer. I tried to open Notepad from the taskbar, but it wouldn't let me. It also highlighted parts on my open IDE. Now we could return the mouse cursor to the previous position, but that would still interrupt and grab control from the user on a fairly regular basis.

I have thought about using API to send an Alt + F4 and blocking that with a _EXIT routine, but that might not be enough to produce an active window effect, either. Sometimes recursive calls like that just result in an app crash, anyway.

Pete
Reply


Messages In This Thread
RE: For Pete -- Keeping a window topmost and active - by Pete - 11-10-2022, 07:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Enlarging window for older BAS programs (ie. Screen 7 mode) paulel 5 422 12-24-2025, 09:36 PM
Last Post: paulel
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 11 1,085 11-10-2025, 07:23 PM
Last Post: madscijr
  is there any way to position the inputbox$ window? madscijr 21 1,691 11-06-2025, 09:54 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 227 10-26-2025, 06:58 PM
Last Post: madscijr
  Play wav file in the background without a window on the forground Rudy M 12 1,167 09-18-2025, 07:08 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)