Usually each struggle or challenge makes me temporarily unhappy and overcoming (or abandoning if I can't figure out a way to overcome it) each struggle or challenge makes me temporarily happy.
Not sure that challenges such as serious threats of immediate dangerous levels of violence, long-term hunger and thirst that can't be alleviated, major physical or mental ill health, homelessness, no friends or family to talk to, debt that I have no prospect of settling can be classed as leading to happiness. But then again, having never experienced the latter 5 examples I can only go by what people who have experienced this stuff say and some people view those experiences in a positive light.
Being punched in the stomach and not being winded or hurt makes me happy - it means the past kick-boxing and gym sessions have not been wasted. Finishing Minutes and Newsletters makes me happy. An amazing view and the sun shining makes me really happy. Learning how to do something I could not do before or learning new useful information makes me really happy.
.