×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    10

    Question How to process Key event ???

    Hi all !
    I'm programming a ping pong (beat ball ) game ,but i don't know how to process get key code of Key down (arrow key ) and other keys ?.
    Could you tell me ?
    Thanks !

  2. #2
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How to process Key event ???

    hi,

    use the HandleKeyEventL to get the events of the keys

    check ur sdk for this

    Regards,
    Mateen maldar

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: How to process Key event ???

    Or you can also override the OfferKeyEventL in a CCoeControl-derived class (do not forget AddToStackL and RemoveFromStack in your AppUi in this case).

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    18

    Re: How to process Key event ???

    You can check out the code available on:
    http://www.nishantkumar.net/mobilega...periments.html

    The CTextTrisContainer::OfferKeyEventL function takes care of key presses and releases.

Similar Threads

  1. Replies: 0
    Last Post: 2003-10-28, 04:12
  2. Replies: 8
    Last Post: 2003-07-11, 12:56
  3. Key Event Issues
    By mykes in forum Symbian
    Replies: 0
    Last Post: 2003-05-01, 10:55
  4. Key event not working in 7650 simulator
    By shahzad73 in forum PersonalJava
    Replies: 1
    Last Post: 2002-12-18, 21:38
  5. Key event not working in 7650 simulator
    By hillcast1 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-12-15, 14:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×