When you are thwarted, it is your own attitude that is out of order.
your own attitude, order, thwarted
Having a positive mental attitude is asking how something can be done rather than saying it can't be done.
You may not be able to change a situation, but with humor you can change your attitude about it.