Yeah.
Will remember to read before helping people @_@
In MyEventReceiver class you must have bool OnEvent(const SEvent& event){ return false; // or whatever else
}
don't forget to set it as the receiver by device->setEventReceiver(&receiver);
Also make sure you're not using uninitialized pointers anywhere
For some reason I feel this post was equally redundant >_>
warnings when use event in switch?
-
monkeycracks
- Posts: 1029
- Joined: Thu Apr 06, 2006 12:45 am
- Location: Tennesee, USA
- Contact: