Catching events without a window

Hi !

Is it possible to catch photon events (keyboard events) without creation of
window and any widgets ? PhEventPeek is silent until the window creation.

Mike Gorchak wrote:

Hi !

Is it possible to catch photon events (keyboard events) without creation of
window and any widgets ? PhEventPeek is silent until the window creation.
\

Yes, you create a region. Look at the PhRegion* functions.
to have it watch the keybaord events, you make it sensitive to the
Ph_EV_KEY event.

/Johan