"Somewhere.." - oh, strange grammar isn't it ;-)? I used WinDisableWindow
where I implemented an own kind of modal window and disabled the
background window, so it would not react on taps and reset the origin of
the coordinate system (buttons of the foreground window do not react
anymore, but areas on the bg win with same relative position do the
buttons' job). WinDisableWindow was an elegant and well working solution
for that, but the way you recommended works very fine as well. Thanks.
--

Keith Rollin schrieb:

> At 10:18 AM +0200 5/27/02, Werner Poschenrieder wrote:
> >WinDisableWindow is now reserved for system use only. If I want to
> >disable a window, how can I do it?
>
> I guess the question is: why do you want to disable a window?  For
> the reason you provided in your previous post ("Somewhere in my app I
> don't want to keep some window to accept input")?
>
> I honestly don't know what the deal is with WinDisableWindow. I don't
> know why it exists in the first place (nothing in the ROM calls it),
> nor do I know why it's going away (probably because the notion of a
> disabled window is going away or is being changed in upcoming OSes).
>
> But if you don't want a window to receive pen input, what's so
> difficult about doing it yourself?  Set a flag, and test it when that
> window received a pen event:  what issues are there with doing that?
>
> -- Keith


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

Reply via email to