Best way to have a chat 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
Asheh
Posts: 14
Joined: Tue Sep 14, 2004 7:27 pm

Best way to have a chat box?

Post by Asheh »

I was going through the GUI elements and realised that none are really suitable for a chat window.

I can render an array of static texts, I could use a listbox, but when it inserts it inserts downwards and i cant figure out a way of making the bottom item always in focus.


can anyone help?
Asheh
Posts: 14
Joined: Tue Sep 14, 2004 7:27 pm

Post by Asheh »

bump
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

You can focus a listitem by calling "listbox->setSelected(id)" where id is the ID of the item. Try calling this on your last item (perhaps use listbox->getItemCount() as your id).
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Guest

Post by Guest »

Ive just tried that. It doesnt set the focus of it though? it sets the highlighted one, but not the one hwich is in focus.
Post Reply