On 6/15/07, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote:
> Arvind Ayyangar wrote:
> > Hi,
> > I am creating multiple windows in a loop with the StackingClass
> > option as DWSC_UPPER.
> > I want the new window created to come into focus only after the
> > focused window is killed. I get the creating / deletion of new windows
> > by adding hooks in DFB.
>
> Why not just create, lower and then show the new window?
I wnat this to work for windows with any stackingclass.
> > So when a new window is created, I do a RaiseToTop and RequestFocus on
> > the previous focused window. But somehow, the keyboard events are sent
> > to the newly created window..
>
> RequestFocus() should route keyboard events to the window.
Unfortunaletly, it doesnt... :-(
>
> Did RaiseToTop() work or did the new window also get to the front again?
RaiseToTop dint work on the previously created window. The new window
was in focus, even after I did a RaiseToTop and RequestFocus on the
previous window
>
> > Is there something very basic I am forgetting? Or is there
> > something extra to be done when the SetStackingClass option is used?
>
> Nope.
>
> --
> Best regards,
> Denis Oliver Kropp
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/ |
> "------------------------------------------"
>
--
Cheers
Arvind
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users