« Return to Thread: Continued: Popup edit in a dialog

Re: Re[8]: Continued: Popup edit in a dialog

by ats :: Rate this Message:

| View in Thread

> A> > A> And it needs some method to decide that. (what I proposed
> A> > A> earlier are such methods).
> A> >
> A> >  Yes, I didn't like them because they were too specific but something
> A> > generic along the same lines (e.g. a virtual NeedsKey() method) could do
> A> > it.
> A>
> A> How about this:
> A>
> A> 1 - We have a function wxKeyEvent::EmitNextKeyEvent()
> A> 2 - EVT_CHAR_HOOK is sent to to the active (focused) child window
> A> 3 - If not handled it propagates to its parent (up to first TLW).
>
>  Yes.

I'll have a go at it. There are quite a number of files to modify. I'll let
it spin on my setting a couple of days before submitting a patch, to reduce
possibility of it breaking other keyboard handling.


Regards
// ATS.



---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@...
For additional commands, e-mail: wx-users-help@...

 « Return to Thread: Continued: Popup edit in a dialog