It is tricky. I don't really have much more to add, as maddog and others have pretty much given good advice on this subject. Cutting people slack is a good thing, and I need to improve in this area at times as well. I can lose it if people say unhelpful stuff to me, which only makes me look like I'm ungrateful...and I am. I'm not grateful for comments that make me feel even worse than I already do, and just because they mean well, it doesn't help the situation.
Later I am better able to see that they meant well, but at the time, I don't care how well they meant, their comments were stupid and hurtful, and made things worse for me.
I'm lucky to have a couple of good friends, and some new friends who do mean well but don't always say things that are helpful and sometimes make me feel like I am a wimp and they are frustrated with me, but I get that it's also their own projections and I am mirroring some aspect of them that they don't like or accept yet, so I am better able to not take it personally depending on my state of mind at any given time. It changes of course.