On Fri, 17 Sep 1999, Chris Antos wrote:

> > But, my question was how to do it; not whether or not it was a good
> > idea.  I still need an answer as to how to do it?
> 
> two basic ways:
> 1)  patch LstHandleEvent and figure out how to fake out the LstPopupList API
> into doing what you want.  pretty complicated/dangerous.
> 2)  write your own replacement LstPopupList function that works the way you
> want.
> 
> there is no simple way.

Thanks,

What I was thinking was something along these lines.  

Since I CAN detect within the lstEvent hanler, that a tap was made
outside of the list area, that I could use one of the API functions to
get the pen point that was tapped.  

I only have to test this point against a couple of buttons.  So, once I
determined what that point was (if that is possible), the I could
determine which button was pressed; and:

1) close the current list
2) set a flag indicating which button was tapped
3) queue some event that would then...
4) open the new list, in the queued event haneler,  with LstPopupList()
based on the flag that was set to indicate which button was tapped.

Oh well, I'll keep thinking about this.

thanks
 
> 
> 

----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
----------------------------------------------------

Reply via email to