I'm trying to turn a hack into a 5.0 notification handler,
with as little work as possible since I'm as lazy as a donkey.
>From the looks of notifications handlers, at least from what
would be required of mine, it seems awfully close to my hack:

- register for interest in sysNotifyProcessPenStrokeEvent
- lock the code segment that's the notification handler
- play by some of the same rules as hacks wrt global data
- possibly support preferences

I'm hoping to reuse a lot of my hack code, but
I'm unfamiliar with what other code is necessary (load a code
resource, locking it, how to initially register for the notification
and let the user know that it's enabled, etc, i.e.,
the stuff the system extension manager, X-Master, took care of).
Does anyone have a template for a simple notification handler,
or does anyone have a way of possibly turning an ugly hack
into a more beautiful notification handler?
Seems like a system extension manager (X-Master, HackMaster)
could possibly even become a notification manager for a set of hacks.

Thanks, Joe



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

Reply via email to