"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:33917@palm-dev-forum...
>
> "Robert Kozak" <[EMAIL PROTECTED]> wrote in message
> news:33909@palm-dev-forum...
> > I'll probably go the apps that are sublaunched. I am aware of the
problems
> > with Globals and with the limited stack space.
> >
> > My biggest concern is the management of form event handlers. I want to
be
> > able to access the toolbar while another form is running also. I am
having
> > trouble with this. The few tests that I have done fell clunky. Sometimes
> the
> > tap goes thru other times it doesn't. Sometimes the form that holds the
> > toolbar erases and the redraws.
>
> I don't think you'll find a lot of samples, but one idea would be to have
> the applications call a special version of EvtGetEvent() --
> ToolbarGetEvent(), perhaps. That code would call EvtGetEvent(), then
filter
> out ones intended for the toolbar. You might even be able to support
> multiple forms by swapping the active form, calling your toolbar's form
> event handler, then restoring the previous active form.
Tell me about it. I've been searching the web for almost a month and I've
read almost everything anyone has written on this subject. Plug-ins and
shared libraries there is a little but there is nothing on displaying two
forms at the same time. I found one message from someone who said he did it
but wished he didn't. He wouldn't elaborate. :-( Most people tell you to
place all on the on one form and make them usable/unusable as you need them.
This, of course, works but only if you have full control over the forms and
controls in our app. This doesn't work for plug-ins.
Ok ok Rant off. <g>
> It would be yet another API change required for the plugin apps, but it
> sounds like you're already requiring some changes, and for most apps, this
> would only affect the one line in the AppEventLoop() function.
I am going to try what you suggested and see what happens. I don't mind a
few API changes as long as they are straightforward. I want people to
actually write these plug-ins. <g>
-- Robert
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/