Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
setting program to display always on top of other windows without having the focus?
#17
(05-20-2024, 07:39 PM)madscijr Wrote:
(05-20-2024, 07:24 PM)Steffan-68 Wrote: Do both programs have to be in the same place on the monitor?
Yes, see below for why... 

(05-20-2024, 07:28 PM)SMcNeill Wrote: Sorry.  I didn't notice the need for _SCREENCLICK.   What you're looking for is:
https://qb64phoenix.com/qb64wiki/index.php/SCREENX
https://qb64phoenix.com/qb64wiki/index.php/SCREENY

Thanks for the info. Now I'm going to switch gears and show you what this was all for:
reading multiple mice from QB64PE

Basically, I have 2 programs running, where program A is just for reading separate input from multiple mice plugged into the computer,
but doesn't display anything to the screen. It needs to have the focus and be positioned directly under the other window, 
Program B, which is the main program gets the mouse coordinates from program A, and displays stuff on the screen.
It needs to be on top, but can't have the focus, or else program A won't work.
The two windows need to be sitting on top of each other so the user's mouse movements line up with the display.

(I would like to get everything working in one program, but to do that Spriggsy thought that both would have to have the same window handle registered, but we never really figured that out. So I came up with this kludgey 2-program solution!)

@madscijr I have to ask. Why are you using 2 mice at once? LOL! My brain can barely handle 1 mouse at a time. This sounds fascinating and I'm really curious why you'd want to do this. Your ingenious approach is fascinating as well. Goes to show where there is a will there is a way.
grymmjack (gj!)
GitHubYouTube | Soundcloud | 16colo.rs
Reply


Messages In This Thread
RE: setting program to display always on top of other windows without having the focus? - by grymmjack - 05-21-2024, 04:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setting mouse to ignore outside of _NewImage PhilOfPerth 11 734 12-18-2025, 07:20 PM
Last Post: Pete
  Is it possible to display this SVG? SpriggsySpriggs 23 4,110 11-07-2025, 01:28 PM
Last Post: SpriggsySpriggs
  Setting Line _RGB colours PhilOfPerth 10 1,964 11-03-2024, 05:37 AM
Last Post: PhilOfPerth
  How to display a float number in scientific? desA 19 3,130 08-05-2024, 06:55 PM
Last Post: Jack
  Font display on 3.7.0 NasaCow 6 1,474 05-17-2023, 11:55 PM
Last Post: NasaCow

Forum Jump:


Users browsing this thread: 1 Guest(s)