I'm trying to write a simple Palm App to get things started. I have my
AppMain.cpp with all the needed functions.
static Err AppStart(void);
static void AppStop(void);
static Boolean AppHandleEvent(EventPtr pEvent);
static void AppEventLoop(void);
I have one form, FrmMain and it's handler, MainFormHandleEvent. This
works fine. I tried a simple function to create a popup screen from my
main form.
My problem is this. I tried to remove the MainFormHandleEvent from my
AppMain and use C++ classes. I created a class for FrmMain, and are
passing the FrmMain::handleEvent as the event handler now, instead of
MainFormHandleEvent. Now my application no longer traps on events when
i press a control. It notices the penUp and penDown, but no CtlSelect.
If this makes any sense to anyone, can you point me in the right
direction.
John
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/