That, like opening doors for women or pulling their chair out for them, has not been taught in near 40 years.
Yep. I was taught your hat served two purposes...
Keep the sun off your head and to tip to ladies.
Hats always came off in the house.
Just don't do it when they're attempting to sit down......