What I've taken to doing is that for each form class, I've created a friend,
and in the class's constructor set a global variable pointer to the form
class. It takes a little bit of storage, but so does C++ ... in any event,
it's clean, and works extremely well.


"Kapil Konde" <[EMAIL PROTECTED]> wrote in message
news:50778@palm-dev-forum...
>
> Hi All,
> Can I have a form's event handler as a function of my c++ class. I tried
> putting it my app class and associating it to the form by
> FrmSetEventHandler() function with same signature. But it does not
compile.
> If anybody has tried it out then please tell me what other things do I
need
> to make it compile and run for me.
>
> Any suggestions will beb helpful.Thanks in advance.
>
> Kapilk.
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to