Posts: 20
Threads: 9
Joined: May 2007
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.
Posts: 12,073
Threads: 140
Joined: Dec 2002
Create macro
Macro
Trigger
#Lh2 0x8
It disables left mouse button down event on a window caption and then you cannot drag windows.
Posts: 20
Threads: 9
Joined: May 2007
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.
Posts: 20
Threads: 9
Joined: May 2007
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?
Posts: 12,073
Threads: 140
Joined: Dec 2002
To get help, type or click SaveMultiWinPos in macro and press F1.