Refactor handling of minimize/maximize formby using hit-testing instead of IMessageFilter.