Great solution!
Tried to use it in my application, everything works fine, but had to make some improvements... The problem was - when i clicked the maximize button - the application goes in to...