I want a menu with 4 buttons and when i press one of them, every buton on the screen disappear and should appear 2 new butons.
I read all topics about it and:
1. I created 4 butons.
2. I subscribed 4 handle events for each buton.
But what should i do for disappear all buttons and appear the news butons?

First i Created 6 buttons. On the first 4 call setVisible(true) and on the other two call setVisible(false). This will show the first four and hide the last two, then on the button press do the opposite.
But a Windows error is generated:
AppName: dragon.exe AppVer: 0.0.0.0 ModName: ceguibase_d.dll
ModVer: 0.0.0.0 Offset: 0020255b
Logs doesn't have errors.

Error is generated when i to put setVisible(Bool) in the code and i press a button.
I quit it and Ogre runs OK. But my buttons don't disappear.
Do miss i something?

Thanks for all your help...