Obtains the top sheet in the MDI frame, which may or may not be active.
MDI frame windows
mdiframewindow.GetFirstSheet ( )
Window. Returns the first (top) sheet in the MDI frame. If no sheet is open in the frame, GetFirstSheet returns an invalid value. If mdiframewindow is null, GetFirstSheet returns null.