How works MemberFunctionPointer and MemberFunctionSlot?


09-12-2007 15:33:03

Hi everyone!
i was playing with addEventHandler for trackbar and i saw in the declaration of the event handler that accept as argument a MemberFunctionSlot...but what is? how can i use it for my event handler?


09-12-2007 22:47:50

Those classes enable you to create your own event handlers. View the demo for code on this, I'm short on time at the moment.


void myClass::myFunction(const EventArgs& args);


10-12-2007 09:46:40

ahhh.thanks, now i have understood!! :)