Text Entry Box

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Darklance
Posts: 5
Joined: Mon Jul 12, 2004 4:54 am

Text Entry Box

Post 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.
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

Its called an edit box
The Robomaniac
Project Head / Lead Programmer
Centaur Force
Darklance
Posts: 5
Joined: Mon Jul 12, 2004 4:54 am

Post 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.
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

The Robomaniac
Project Head / Lead Programmer
Centaur Force
Post Reply