Thank you guys! That just worked.... sorry for the newbie question...
By the way, the manual tells that pan_create is slow. Should I restrict it´s use for some specific stuff? Because I am really using it a lot, actually everytime the map changes (it is a 2d tile based game, like the very early ultima games) all that is created (ground obstacles, npcs, itens, cities) is runtime panels (except for the ground tiles wich are predefined)

I have something like "panel* npc[10];" and "panel* otherstuff[10];" and then I use this same panels in all the maps just using the pan_create function and some strucs to identify the npc or needed map detail as unique. Acording to the map id, the correct npcs are displayed.... I didn´t notice any performance issue but... what do you guys think about it?

Is that going to be an issue if the game grows big?