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.
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).