From looking at the code, if you get a nil p_tip, then assume it is the empty string... MCTooltip::settip(nil) or MCTooltip::settip(kMCEmptyString) should cancel the existing tooltip (if any is being displayed).