Guest User

Untitled

a guest
Sep 13th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Procedure.l UpdateWindowsProc(hWnd.l, *desktop.RECT)
  2.   If IsZoomed_(hWnd)
  3.     MoveWindow_(hWnd, *desktop\left, *desktop\top, *desktop\right-*desktop\left, *desktop\bottom-*desktop\top, #True)
  4.   EndIf
  5.   ProcedureReturn #True
  6. EndProcedure
  7.  
  8. ExamineDesktops()
  9. desktopnew.RECT
  10.   desktopnew\left = 0
  11.   desktopnew\right = DesktopWidth(0)
  12.   desktopnew\top = 23
  13.   desktopnew\bottom = DesktopHeight(0) - 23
  14.  
  15. Repeat
  16.   Delay(500)
  17.   SystemParametersInfo_(#SPI_SETWORKAREA,0, @desktopnew, #SPIF_SENDWININICHANGE)
  18.   EnumWindows_(@UpdateWindowsProc(), @desktopnew)
  19. ForEver
Add Comment
Please, Sign In to add comment