Callback Function and non static member functions

I have class X in which all widgets are created at runtime. All widgets pointers are attributes of class. I have added key handler as follows:

PtAddHotkeyHandler( ABW_button, Pk_F3, 0, Pt_HOTKEY_SYM, NULL, Activated);

I want Activated should be a non static member function of class.

Is this possible ?

No. But you could minimize the effect. You can use the userdata field of the widget to store the this pointer. Then create a new static method caleed cbActivated, This small static function would get the this pointer and invoke Activated.