none
Hosted applications and keyboard shortcuts RRS feed

  • Question

  • Hello All,

    how can I control the behavior of a Hosted Application with keyboard shortcuts? I want to achieve that, if a key combination is pressed, a specific hosted application gets the focus. I'm using CCF 2009.

    Does anyone have a hint how to do that?

    Regards
    ronny_kl
    Wednesday, March 25, 2009 2:13 PM

All replies

  • Have you looked at 'MyMessageFilter' class of Desktop.cs file inside the CCF AgentDesktop project? It shows how various Key combinations can be used to drive the menu clicks and application launching inside CCF AgentDesktop.

    In your case, you need to fire default action on the application on a key combination to bring the application into focus. See the function 'setFocusForApplicationID'. I am assuming that you'll invoke the 'setFocusForApplicationID' function with your key pattern to bring the application tab to focus.


    NinadK
    NinadK
    • Proposed as answer by NinadK-MSFT Wednesday, May 13, 2009 11:15 AM
    Wednesday, May 13, 2009 11:15 AM