Resize, move and maximize, minimize is something you cannot detect right now. I tried similar things in the past, like hiding the viewer pane if I resize the window to be small and such, but the current event (OnListerUIChange) does not provide detailed enough information about what happened (minimize/maximize e.g.) or does not fire at all (resize, move e.g.).