You are absolutely spot-on. It is simple courtesy and good manners to remove your hat, or to touch it with your forefingrer and thumb, when greeting a lady ( that is a female !). My Clan Chief does this routinely,and it is refreshing to see a true Gentleman acting apporpriately. Sadly, modern man, with baseball caps and the like, seem to have lost this habit. I find that regrettable.