The maximize state is a specific windows flag. When a window is maximized, it is treated differently by Windows. So, no, you cannot treat a maximized window in the same way as a normal, restored window.