struct TSizer
  .moveX    dd ?      ; 1 - move left border, 2 - move right border 3 - both
  .moveY    dd ?      ; 1 - move top border, 2 - move bottom border 3 - both
  .region   dd ?      ; region that contains all controls selected in the sizer.
  .dragXY   POINT     ; point where the window is draged.
  .selected dd ?      ; pointer to TArray with pointers to selected components.
ends

sfDontClearOld = 1

winmessage SZM_SELECTCONTROL          ; (ptrWinTemplate, flags) - selects control inside the sizer.
winmessage SZM_UNSELECTCONTROL        ; (ptrWinTemplate, 0) - unselects control
winmessage SZM_UNSELECTALL            ; (0, 0) - unseelcts all controls and hides the sizer
winmessage SZM_UPDATESIZE             ; (0, 0)

struct TMouseEvent
  .mousePos POINT
  .msg      dd ?
  .wparam   dd ?
  .sender   dd ?
ends