Get Window Pointer In Event-Function[resolved]
Posted: Fri Nov 10, 2006 10:05
Code: Select all
MyWnd->subscribeEvent (CEGUI::PushButton::EventClicked, CEGUI::Event::Subscriber (&MyOwnClass::ButtonClicked, this));
...
MyOwnClass::ButtonClicked(const CEGUI::EventArgs& e)
{
[b] How Can I Get The Window Ptr Here Who Subcriber This Event-Function?[/b]
}