Possible Duplicate:
interactive dialog creation with opengl
Since Authentication dialog takes password from user, at any time it prints out password in that form “* * * * * * * * * “. Via opengl UI, how can I do that ?
see image http://media.sharewareconnection.com/images/large/authentication-132.gif
OpenGL is not a UI system. It’s a drawing API, and does not even deal with user input. It can of course be used as a backend to draw GUI widgets, like text or password entry fields, but that’s not part of the functionality of OpenGL itself.
So either you’re implementing your toolkit yourself: Then you’re the one responsible to draw the desired replacement character (or just leave it blank).
Or you’re using some GUI toolkit: Then you should read up the documentation of that toolkit, how to do it, because OpenGL is just the “pen and paper” it uses to draw stuff to a framebuffer.