Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to lock window to the certain position
#1
Sometimes I move the windows on my desktop accidentaly - I hit them with mouse and drag or move on another way. Main idea is that the move was not intended. So I want that every window stays there where they are placed. Is there similar command for disabling moving windows like "ont" and "ont-" is for "Always on top" mode?

Of course is possible to save window position and further to check if window position is the same. But if there's special command for disabIing moving I would rather use that.
#2
Create macro
Macro
Trigger #Lh2 0x8     Help - how to add the trigger to the macro
Code:
Copy      Help
lef

It disables left mouse button down event on a window caption and then you cannot drag windows.
#3
Thanks, Gintaras. There's one problem - some windows can be moved by clicking mouse left button down on entire window area.

There is a bug: while I am draging one window to another place and second window activates itself. Then if I want to perform left mouse click to second window the result is that first window moves itselt from placed location to the place where I clicked on second window. I want to disable that bug.
#4
Found in QM Help "SaveMultiWinPos/RestoreMultiWinPos". They are using 2 parameters: $name and $windowlist but there is no help about those commands.

SaveMultiWinPos:
$name = Probably name of the set of the windows ?
$windowlist = array of set hwnd-s?
#5
To get help, type or click SaveMultiWinPos in macro and press F1.


Forum Jump:


Users browsing this thread: 1 Guest(s)