I am writing custom text control and I want to use FEP in it. But I
think I found a problem with APIs.
First I call TsmLibFepOpen to get pointer to TsmFepStatusType structure.
Then I can use that pointer normally. But when FEP library decide to show
popup list it stops working normally, items in list are not drawn correctly.
FEP library has its own event loop and call SysHandleEvent in it. Then
SysHandleEvent calls TsmHandleEvent which call TsmLibFepMapEvent. That's ok
but TsmLibFepMapEvent wants TsmFepStatusType as parameter and TsmHandleEvent
gets one from system globals to call TsmLibFepMapEvent. And this is the
problem. FEP library is trying to handle event with TsmFepStatusType
structure that is in system globals, but not with mine structure.

        Any suggestions for workaround this problem. Or may be there is some
useful API that solves it.

What version(s) of the OS are you targeting?

-- Ken
--
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

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

Reply via email to