should not really be a problem, but...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

should not really be a problem, but...

Post by schick »

Well, i've got a really stupid (easy to solve?) problem.

I created a gui button using

IGUIEnvironment::addButton(...)

and displayed it. Now the trouble began, id like to remove it
not just make it invisble. There are 2 function that, as the Irrlicht
documentation says, could do that

IGUIElement::remove()

and

IUnkown::drop().

But none of them is working for me. The buttons are still there.
Anyone has a solution?

thx,

schick
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

upps

Post by schick »

was a design bug...
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

which is better to use/which did u end up using?
a screen cap is worth 0x100000 DWORDS
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

documentation

Post by schick »

as the documentation says irr::gui::IGUIElement::remove():

Removes this element.

I used it that way.
Post Reply