By default the skins are set to have been kept on the screen, having checked the "Keep on screen" setting.
Although I'm not using this too frequently, now I had to try this so I unchecked this setting onto a skin. I was (obviously) able to drag it outside of the screen, but the weird is that when releasing the mouse left button, if the skin is drag of screen in upper direction, it jumps back vertically to the screen. Horizontally it stays where it has been left, but vertically I can't left it outside of screen:
ezgif-2-026726af9d97.gif
The extremely simple code has nothing improper I think:
balala wrote: ↑October 29th, 2019, 2:59 pm
By default the skins are set to have been kept on the screen, having checked the "Keep on screen" setting.
Although I'm not using this too frequently, now I had to try this so I unchecked this setting onto a skin. I was (obviously) able to drag it outside of the screen, but the weird is that when releasing the mouse left button, if the skin is drag of screen in upper direction, it jumps back vertically to the screen. Horizontally it stays where it has been left, but vertically I can't left it outside of screen:
ezgif-2-026726af9d97.gif
The extremely simple code has nothing improper I think:
Windows itself will not allow any "window" to extend above the top of the screen. This was made a rule very early in the life of Windows, to keep people from moving the "title bar" outside of a place where they can get at it with the mouse. If you were able to do so, you could no longer drag the window at all, and would be stuck. If you move a window, either by dragging, or in any code, above the top of the screen, Windows will just snap it back down. It's just one of the core, baked-in rules of Windows.
jsmorley wrote: ↑October 29th, 2019, 3:18 pm
Windows itself will not allow any "window" to extend above the top of the screen. This was made a rule very early in the life of Windows, to keep people from moving the "title bar" outside of a place where they can get at it with the mouse. If you were able to do so, you could no longer drag the window at all, and would be stuck. If you move a window, either by dragging, or in any code, above the top of the screen, Windows will just snap it back down. It's just one of the core, baked-in rules of Windows.
Aha. And this applies to Rainmeter skins as well.
Clear, thanks for the clarifications.
It should be noted that you CAN move a skin above the top of the screen in code, using the !Move bang. It will stay that way, as long as you don't try to drag it with the mouse. As soon as Windows detects any movement of the window, it will snap it back into view at the top.
jsmorley wrote: ↑October 29th, 2019, 3:47 pm
It should be noted that you CAN move a skin above the top of the screen in code, using the !Move bang. It will stay that way, as long as you don't try to drag it with the mouse. As soon as Windows detects any movement of the window, it will snap it back into view at the top.
Right. This way it can be done. Useful to be known.
Thanks again for all clarifications.
Another (manual) method I have suggested in some of my creations is:
Select skin(s) using "Ctrl+Alt" key combination [highlighting them in RED], or create a "Drag Group", then use the arrow keys to position them anywhere on or off the screen (with "KeepOnScreen" deactivated). "Ctrl+Arrow" moves them quickly, or just "Arrows" for fine positioning.
This allows placing skins above the screen top as long as you do not try to drag them with your mouse.
Also, multiple skins can be moved at one time.
As always, there are many methods to achieve similar results in your skins
eclectic-tech wrote: ↑October 30th, 2019, 4:44 pm
Select skin(s) using "Ctrl+Alt" key combination [highlighting them in RED], or create a "Drag Group", then use the arrow keys to position them anywhere on or off the screen (with "KeepOnScreen" deactivated). "Ctrl+Arrow" moves them quickly, or just "Arrows" for fine positioning.
Thanks eclectic-tech, good idea. Just as a side note i completely forgot about the possibility to highlight skins this way. Additionally I had not even idea about the possibility of moving a this way highlighted skins. Good to find out these kind of tricks.
However the idea was not to place the skins outside of the screen, but to figure out what's going on when dragging a skin upper outside of screen, why it isn't kept there. jsmorely's explanation made me to realize the reason of this.
Thanks again anyway for the (as usually) useful idea.