GetPanelAttribute can be used for this. You can check the top, left, width and height. Also, the Window Zoom attribute can be used to minimize, maximize, or restore. SetPanelAttribute and GetPanelAttribute with the Window Zoom attribute is what you want for checking status.
Best Regards,
Chris Matthews
Measurement Studio Support Manager