1.

How Can My Evt_xyz Handler Find The Control That Generated An Event?

Answer»

The event your HANDLER receives will be of a CLASS derived from wxEvent, which has a GetEventObject METHOD. In the CASE of an event generated by a control, calling GetEventObject() on the event will return a reference to the control.

The event your handler receives will be of a class derived from wxEvent, which has a GetEventObject method. In the case of an event generated by a control, calling GetEventObject() on the event will return a reference to the control.



Discussion

No Comment Found