Common Event handling Function
Posted: Tue Nov 29, 2005 07:44
Hello,
is it possible to get a common event handling function working?
One function that is used to handle different kind of Events (just like one function for every ButtonClicked Message in a window).
Of course I can assign the same function to different Buttons, but i cant get the name of the button pressed, to decide what to do.
in a few words: i want to have a win32 like MessageProc function for cegui windows.
thanks
xardias
is it possible to get a common event handling function working?
One function that is used to handle different kind of Events (just like one function for every ButtonClicked Message in a window).
Of course I can assign the same function to different Buttons, but i cant get the name of the button pressed, to decide what to do.
in a few words: i want to have a win32 like MessageProc function for cegui windows.
thanks
xardias