locked
How to Call keybd_event or mouse_event in metro style?

    Question

  • Can I Call keybd_event or mouse_event in metro style? if not , what is instead?

    thanks!

    Friday, November 18, 2011 3:34 AM

Answers

  • Metro style apps can communicate via contracts with other Metro style apps. There is no communication between Metro <> Desktop apps. Take a look at the Share contract presentation here for some more detail:

    http://channel9.msdn.com/Events/BUILD/BUILD2011/APP-405T

     

    Thanks,

    -David

    • Marked as answer by Bob_Bao Wednesday, December 7, 2011 9:03 AM
    Saturday, November 19, 2011 12:19 AM
    Moderator

All replies

  • There is no equivalent.  Since your app will only be communicating with itself you can create a private interface to call the results of the input directly without going through the input system.

    --Rob

    Friday, November 18, 2011 6:52 AM
    Owner
  • "metro style app" will only be communicating with itself?

    can it not communicating with other "metro style app" or "desktop app"?

    thanks!

    Friday, November 18, 2011 7:58 AM
  • Metro style apps can communicate via contracts with other Metro style apps. There is no communication between Metro <> Desktop apps. Take a look at the Share contract presentation here for some more detail:

    http://channel9.msdn.com/Events/BUILD/BUILD2011/APP-405T

     

    Thanks,

    -David

    • Marked as answer by Bob_Bao Wednesday, December 7, 2011 9:03 AM
    Saturday, November 19, 2011 12:19 AM
    Moderator