WE WERE HAVING DINNER WHEN HE CAME.

3. We were having dinner when he came.