PyCFrameWnd.InModalState

int = InModalState()

Returns a value indicating whether or not a frame window is in a modal state.