Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. block BACK KEY

block BACK KEY

Scheduled Pinned Locked Moved Mobile
help
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PavanPareta
    wrote on last edited by
    #1

    Hi All, I want to block BACK KEY of WM Smart phone in my entire application. What i am trying to do is my application should not get Minimized if I press WM Smart phone's Back Key. Please help me. Thanks in Advance.

    Pavan Pareta

    J 1 Reply Last reply
    0
    • P PavanPareta

      Hi All, I want to block BACK KEY of WM Smart phone in my entire application. What i am trying to do is my application should not get Minimized if I press WM Smart phone's Back Key. Please help me. Thanks in Advance.

      Pavan Pareta

      J Offline
      J Offline
      Joel Ivory Johnson
      wrote on last edited by
      #2

      You didn't mention what language/technology you are using, so I will assume this is a .Net program. You need to add an event handler to the KeyPress event and in the event handler check to see if the KeyChar on the event args object is Keys.Escape. If it is then set the Handled member of the event arg to true.

      Joel Ivory Johnson

      Meet my dev team: RDA Architecture Evangelist Team Blog

      My site: J2i.net

      Twitter: J2iNet

      P 1 Reply Last reply
      0
      • J Joel Ivory Johnson

        You didn't mention what language/technology you are using, so I will assume this is a .Net program. You need to add an event handler to the KeyPress event and in the event handler check to see if the KeyChar on the event args object is Keys.Escape. If it is then set the Handled member of the event arg to true.

        Joel Ivory Johnson

        Meet my dev team: RDA Architecture Evangelist Team Blog

        My site: J2i.net

        Twitter: J2iNet

        P Offline
        P Offline
        PavanPareta
        wrote on last edited by
        #3

        Thanks J2i It's help full for me.

        Pavan Pareta

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups