Product Defect

Agent Hotkeys do not work under WPF

Article ID: SRX1067 Last Updated: 8/9/2010 12:09 AM
Published: 8/9/2010 12:01 AM Updated By: kendall
Summary The Hotkeys for Gibraltar Live Viewer and Packager do not work for WPF applications, regardless of configuration.

Details

Problem Description

When the Gibraltar Agent is integrated with a WPF application it doesn't respond to the Hotkeys (CTRL-ALT-F4 and CTRL-ALT-F5 by default) to bring up the Packager Dialog and Live Viewer.

Cause

WPF uses a different set of internal events and hooks than normal Win32 and WinForms applications so it doesn't respond to the same hooks available in .NET 2.0. There is only one version of the Gibraltar Agent, targeting .NET 2.0 so it isn't WPF aware.

Workaround

You can invoke both the Packager Dialog and the Gibraltar Live Viewer through the Agent API and connect them with your own keyboard or menu handler.

Applies To

Loupe version 2.00.0414 and later