How do I toggle the "password" style for an edit box?
-
This should be a simple question... :) I have an edit box (with the 'password' style set in my resource file) in a dialog that I'd like to use to display either passwords (******) or normal, readable text. I need this behaviour to change dynamically. I tried adding/removing the ES_PASSWORD style from the control, but that didn't work. The edit box still displayed asterisks. How can I get the desired result? Thanks!
-
This should be a simple question... :) I have an edit box (with the 'password' style set in my resource file) in a dialog that I'd like to use to display either passwords (******) or normal, readable text. I need this behaviour to change dynamically. I tried adding/removing the ES_PASSWORD style from the control, but that didn't work. The edit box still displayed asterisks. How can I get the desired result? Thanks!