WPF && Key Event && Automation

I am writting an application tester that register control events and replay them.

I need to register Key Event.

The test application popup a dialog when user press a key into a listbox. The application does this action on a KeyEvent.

With Automation How I can received this Key Event to replay it.

I am into WPF and SetWindowHook is not supported.

How I can register this event with automation? (into WPF)

I need your help

Thanks

[1242 byte] By [PhilippeGalipeau] at [2007-12-31]

Visual Studio Orcas

Site Classified