×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    11

    CBA, menu and key events

    Hi,
    What is my problem.
    I create custom control that create new CBA and menu bar. i handle all key events and pass them 1st to CBA after that to menu if its displayed and to my control.
    When i pass events to CBA i get ProcessCommandL and display menu. i can switch by menu items but i got problem with getting ProcessCommandL with commandID's from menu.
    When menu is popped CBA buttons are changed.
    After that i pass events to CBA but as commandID i get CBA commands but not menu commands.
    BUT!!! when menu is popped and i pass events to CEikButtonGroupContainer::Current() i get proper menu commands.

    I was trying to add my CBA to control stack with ECoeStackPriorityCba also i was adding menu to stack but it didnt helpd.

    Does any one got any idea whats wrong?

  2. #2
    Registered User
    Join Date
    Feb 2004
    Posts
    11

    Re: CBA, menu and key events

    Ow ok i was too fast. i was thinking thay menu reusemy cba but it creates its own.

Similar Threads

  1. How to use cba with LaunchPopupMenuL?
    By larrydb in forum Symbian User Interface
    Replies: 6
    Last Post: 2008-11-03, 09:24
  2. Capturing all key events
    By vfd in forum Symbian
    Replies: 7
    Last Post: 2005-10-03, 08:01
  3. handling the menu key and end call key on gameplay
    By yonan32 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-08-26, 10:23
  4. Menu Key (EKeyApplication)
    By mikkyt in forum Symbian
    Replies: 1
    Last Post: 2003-04-24, 07:42
  5. menu from select key press.
    By engrsanjiv in forum Symbian
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

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