Listbox / scrollbar problem
Posted: Sat May 05, 2007 1:06 pm
Hello
I have run across something that I am sure is rather easy, but for some reason I just can't wrap my head around it... hence it enters the beginners help section
Now a normal guienv->addListBox() listbox has a scrollbar... how do I access it? If I made my own gui element with a scrollbar I wouldn't have this problem... but atm we are talking about a normal Listbox
I am sure it is registered as a child of some form to the listbox, hence I should be able to get it with a listbox->getChildren... right?
Now that baby returns a core::list... now how the heck do I sort out the scrollbar from that list
I would like to assign the scrollbar to a IGUIScrollBar*
this does not only apply to the listbox+scrollbar... i mean it a bit more generally as well
thanks in advance
I have run across something that I am sure is rather easy, but for some reason I just can't wrap my head around it... hence it enters the beginners help section
Now a normal guienv->addListBox() listbox has a scrollbar... how do I access it? If I made my own gui element with a scrollbar I wouldn't have this problem... but atm we are talking about a normal Listbox
I am sure it is registered as a child of some form to the listbox, hence I should be able to get it with a listbox->getChildren... right?
Now that baby returns a core::list... now how the heck do I sort out the scrollbar from that list
I would like to assign the scrollbar to a IGUIScrollBar*
this does not only apply to the listbox+scrollbar... i mean it a bit more generally as well
thanks in advance