> Ashley Mills schrieb:
> > Whilst I suspect it depends on the window manager, under XFCE 4.8 on
> > Arch Linux, the following code will grab focus even when the
> > application in question is not currently active:
> >
> > window.show()
> >
> > i.e the process is bought to the foreground, which is what I want
>
> > Obviously this is very simple and convenient for me, and I was able
> > to program the application in a few hours. However, on Windows Vista
> > and Windows 7, focus stealing is banned without permission from the
> > current foreground process. As described in this rather militant
> > post:
>
> LOL, Windows is nothing to "have fun", but to get violent. Try this:
>
> window.hide();
> Fl::check();
> window.show();

Thanks, that one doesn't work.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to