Sign in to follow this  

Password-like edit box using CDXUTEditBox

This topic is 4160 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have not used the CDXUTEditBox, but from the top of my head, you could capture the key pressed event and get the content of the edit box, then copy it to a string that will bet your buffer and then clear the edit box and add the number of * you want ( you could get the length of the string buffer and that many * )...

hope that helps

Share this post


Link to post
Share on other sites
Quote:
Original post by aucian
Yes I thought of going down that road, however I was wondering if there's a more direct way of doing it...

You could also inherit a new class an make a CDXUTPasswordBox or something like that. The internals would probably be similar to that which idloco proposed, but it might be a little bit cleaner. Or you could always just change your local copy of the source.

Share this post


Link to post
Share on other sites

This topic is 4160 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this