Allann Jones wrote:
Hi, I'm developing independent applications that use DirectFB. I want to change focus between the applications. How I can interrupt input from keyboard to a application in a high level method of the DirectFB API without change the core? How I can interrupt IDirectFBEventBuffer->GetEvent() activity? Is there a callback for this?

I'm not sure if I fully understood what you want to achieve and which
type of applications you have, but if you're using windows you can just
use GrabKey() to register global keyboard shortcuts and use
RequestFocus() to switch between applications.

GetEvent() cannot be interrupted as it won't block, but you can WakeUp()
any thread blocking at WaitForEvent().

--
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to