Building [textedit] in Min?

Joe Kaplan's icon

Greetings,

I'm building a package of externals that interact with an online service. In order to begin a session I need to collect the user's ID and Password so they can authenticate with the server.

[textedit] is the obvious place to start, but if I have the user enter their credentials into a textbox and feed it to my external via patch chord, someone could potentially redistribute my patch with an edit that snags the password along the way.

The best solution would be for the user to enter the credentials directly into my external. Then other Max developers could use my objects freely in their patches and they wouldn't handle the user's credentials at all.

To do this I need my external to expose a UI Object similar to [textedit]. Looking through the docs for Max API and Min Devkit I see that I can capture mouse activity in a UI object, but I wasn't able to find a way to capture keyboard input.

Are there any suggestions for how to build [textedit]-like functionality into an external using Min?
Thanks for any input.

Joe Kaplan's icon

I'm getting back around to working on this initiative again so I thought I'd bump this to see if anyone has any comments.

This related thread got a little bit of traction, but we're still talking a lot about how to do this with the Max SDK.

I'm wondering if there are any new developments, or if anybody has any advice on how to go about building a [textedit]-like object with Min. Thank you!