I have a dialog box with a password CEdit field. I want to implement a checkbox with one can choose if one want see the password as asteriks or see the password as it is. How can I send a message to the CEdit field to switch between password and normal text input ? Or must I Create the CEdit dynamically with ES_PASSWORD-style and then if the user want to see the password, I have to delete the CEdit und create it again without ES_PASSWORD-style. Is there an easier solution ?