I’ve been searching the documentation and got into an endless loop. My problem:
I have an app (several actually) which reset the window position to the last moved position when they are re-launched. It uses the Moved event and sets the left and top position during window open events. It works fine with one display.
But with multiple displays I can’t find the formula. I can set the screen (using, for example, me.top = screen( n ).previousTop). But I can’t figure out how to determine the screen number of the window after a move, so this technique always put the window on the main screen (which I don’t want).
How to find which screen a window is on ?
Thanks,
Richard
4 posts - 3 participants