pregnancy announcement

How does someone announce being pregnant to family members that might be less than thrilled to discover it? They are bound to know sooner or later there is no way to avoid it. But how do you go about it? Or get through any negative comments with a smile??