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?
#12
Do both programs have to be in the same place on the monitor?
If not, you can change these lines.

Code: (Select All)
If 0 = SetWindowPos(hWnd, HWND_TOPMOST, 840, 200, 0, 0, SWP_NOSIZE Or SWP_NOACTIVATE) Then  

und 
Code: (Select All)
  _ScreenClick 880, 240 ' add 40 to x and y to focus on positioned window      

This means that both programs would be next to each other, but only the one that is set to foreground remains in the foreground and the other one
could then fade into the background.
I don't know what you're trying to do, maybe you could also play around with the command (_SCREENICON).
So that the program that is not in the foreground disappears from the monitor?
Reply


Messages In This Thread
RE: setting program to display always on top of other windows without having the focus? - by Steffan-68 - 05-20-2024, 07:24 PM



Users browsing this thread: 1 Guest(s)