Coatings that harden upon evaporation