Page 1 of 1

Text Entry Box

Posted: Wed Jul 14, 2004 2:22 am
by Darklance
As part of a project I'm working on, I need to have a box where the user can enter text - think of it like the 'say/tell' and 'groupsay/grouptell' commands in Half-Life or similar FPSes....or, to be more accurate to the intended function, the parser of a MU*.

How do I do this with Irrlicht?

I suspect I would need to bind a key to begin text entry, maybe enter or something, and then ignore alphanumeric key bindings somehow while the user enters their text, then 'send' the text to the parser when they hit enter again.

I don't know how I'd implement it, though. I'm using Visual C++ .NET, incidentally.

Posted: Wed Jul 14, 2004 2:38 am
by Robomaniac
Its called an edit box

Posted: Wed Jul 14, 2004 3:24 am
by Darklance
Does it matter that the mouse cursor is disabled, since I'm approaching this like a FPS?

I don't know how to activate the editbox for text entry once this is running.

Posted: Wed Jul 14, 2004 4:08 am
by Robomaniac