If I remove the last param, the windows on the desktop (not my own) are correctly tiled, but I want to tile the windows I choose (standard windows, not mdi)
Anyone can help?
Thanks!
Code: Select all
; nw() is the array where windows numbers are stored
; nwh() is for store windows handles
Define f
Define size=ArraySize(nw())
Define Dim nwh(size)
For f=0 To size
nwh(f)=WindowID(nw(f))
Next
TileWindows_(#Null,#MDITILE_HORIZONTAL|#MDITILE_VERTICAL,#Null,size,@nwh())