I will summarize my request made in the Gridmove thread, just to make it easier for you to manage feature requests.
I would like to improve fast move by using arrow keys. If the current window is in zone2,then:
- Modifier + "->" key: moves it to zone3
- Modifier + "<-" key: moves it to zone 1
- Modifier + page-up key: moves it to last zone
- Modifier + page-down key: moves it to zone1
Ideally, you could move the window around physically (eg if zone8 is above zone2, then Modifier + up key moves window from zone2 to zone8). But I understand that this is difficult and could be done in a 2nd step.
To achieve this, you will have to detect the position of the active window. To do that, may I suggest this simple algorithm:
If you have trouble with getting the size of the active window, you may try the Windows API GetWindowRect function.
I would like to improve fast move by using arrow keys. If the current window is in zone2,then:
- Modifier + "->" key: moves it to zone3
- Modifier + "<-" key: moves it to zone 1
- Modifier + page-up key: moves it to last zone
- Modifier + page-down key: moves it to zone1
Ideally, you could move the window around physically (eg if zone8 is above zone2, then Modifier + up key moves window from zone2 to zone8). But I understand that this is difficult and could be done in a 2nd step.
To achieve this, you will have to detect the position of the active window. To do that, may I suggest this simple algorithm:
- Get the size of the active window (Top, Right, Bottom, Left)
- Loop through all zones defined in the grid (start with zone1)
- If (Top == GridTop) and (Right == GridRight) and (Bottom == GridBottom) and (Left == GridLeft) then ZONE_FOUND ! ! ! get out of the loop
- else, go to next zone in the grid
- Return to beginning of loop
If you have trouble with getting the size of the active window, you may try the Windows API GetWindowRect function.













)
. There are certain missing features : there is no undo (it would be complex for me to do that… BUt if you can explain me how to do it, I’ll add it) , and no incremental window resizing... I could add that eventually (with the combination of Win + or - keys). So I could post it here if you want.
I hope those are not too painful changes for you (anyway, you have made the hardest part already with step1). Looking forward to step2 !