Example:
She was writing a letter to her friend from Solnechnogorsk at 7 o'clock yesterday.
She was not (wasn't) writing a letter to her friend from Solnechnogorsk at 7 o'clock yesterday.
Was she writing a letter to her friend from Solnechnogorsk at 7 o'clock yesterday?