Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User sethuraman's Avatar
    Join Date
    Mar 2006
    Posts
    35
    Hi,

    I have a list box and traping for the "Enter" key pressed. When Enter key is pressed, need to link it with a menu click event. How can i do that?

    i.e. how can i simulate a "Menu Click" event when a list box item is selected thru the "Enter" key.

    i.e. Posting "Menu Click(EAknSoftkeyOk)" event under the HandleListBoxEvent() for a list box?

    Thanks,
    sraman

  2. #2
    Nokia Developer Champion chenziteng's Avatar
    Join Date
    May 2004
    Posts
    2,265
    if you want to pass the "menu click" event to appui then call:
    CEikonEnv::Static()->EikAppUi()->HandleCommandL(EAknSoftkeyOk);

  3. #3
    Registered User sethuraman's Avatar
    Join Date
    Mar 2006
    Posts
    35
    Quote Originally Posted by chenziteng
    if you want to pass the "menu click" event to appui then call:
    CEikonEnv::Static()->EikAppUi()->HandleCommandL(EAknSoftkeyOk);
    Thanks a lot, chenziteng. Your solution perfectly works.

    Thanks,
    sraman

  4. #4
    Registered User samsharma's Avatar
    Join Date
    Nov 2006
    Posts
    20
    hi to all i m newble in all i want to know that can i Simulate key press in game application

    i read from some posts that in game application CdirectScreenAccess is used and SendKey and SimulateKey method is used in case of WindowServer


    Is there any way to take full control on Mobile using Computer including game using AT commands and otherways
    so please reply me soon its very criticle for me......

    thanks in advance

Similar Threads

  1. Simulating key event
    By Shaikuny in forum Symbian C++
    Replies: 1
    Last Post: 2005-09-05, 04:23
  2. Simulating Long Key Press event in debugging mode...
    By empeegee in forum Symbian C++
    Replies: 6
    Last Post: 2004-12-22, 05:24
  3. Replies: 2
    Last Post: 2004-12-18, 08:50
  4. Simulating Long Key Press event in debugging mode...
    By empeegee in forum Multimodecards
    Replies: 1
    Last Post: 2004-12-18, 06:31
  5. List item selection
    By SanDan in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-06, 10:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved