in main:
for(y=0; y < 10; y++)
{
possibility[y] = environment->addButton(rect<s32>(10,120+(y*20),300,140+(y*20)), 0, 111+y, L"");
possibility[y]->setVisible(0);
}
then in the event handler after selecting a different kind of list box item
if(should be shown)
{
text = "blabla";
possibility ...