The correct answer is: delighted.
Delighted is the most appropriate word to complete the sentence "When we heard the good news, we were delighted." This is because delighted is an adjective that means "feeling or showing great pleasure and happiness." It is the most common word to use to describe someone's reaction to good news.
The other options are not as appropriate. Delight is a noun that means "a feeling of great pleasure and happiness." It is not typically used to describe someone's reaction to good news. Delighting is a verb that means "to give someone great pleasure or happiness." It is not typically used in the passive voice, as in the sentence "We were delighting." Delightful is an adjective that means "causing great pleasure or enjoyment." It is not as strong a word as delighted, and it is not typically used to describe someone's reaction to good news.