×

Discussion Board

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

    Context Sensitive Softkeys

    Hi all,

    I believe ive searched for this with no luck, but if ive missed a thread please excuse me. Im trying to implement a context sensitive options softkey for a small blackjack game im developing. I want the options softkey to display different options at different times. i.e. Before the game starts, the options should be Deal or Shuffle and whilst in the game, options should be Stick or Twist. I have all the commands in the .rss file where the softkey commands are defined, but currently they are all shown whatever the game state. I want a way to disable or hide the unwanted options whilst in a particular state.

    Regards

    Simon

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Context Sensitive Softkeys

    have a look into your AppUI class (CAkn... derived one) and its Cba() function, it returns button group container, which with you could set your command button on run time.

    yucca

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    6

    Re: Context Sensitive Softkeys

    Hi Yucca.
    I'm sorry to contact you @ this forum.
    I want to hire an offshore Symbian C++ 3rd Ed developer.
    Are you available to talk about it?
    It's a small Symbian Server that works with Telephony components.
    Please let me know if you are available.
    Thanks for you time.
    email: barbalatm@gmail.com

  4. #4
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: Context Sensitive Softkeys

    To get back on the topic:

    In the view or container call you can override the DynInitMenuPaneL method and dimm the option menu items you do not need.

    Bernd

Similar Threads

  1. Context sensitive help with multiple language Suppot
    By Inam Ahmed in forum Symbian User Interface
    Replies: 4
    Last Post: 2007-11-13, 10:02
  2. Problem With Context Sensitive Help
    By saji_iq in forum Symbian
    Replies: 7
    Last Post: 2006-11-02, 11:13
  3. problem in context sensitive help in 9500!
    By vivek_2kx in forum Symbian
    Replies: 1
    Last Post: 2006-01-09, 12:16
  4. Replies: 1
    Last Post: 2005-08-25, 00:28
  5. Context Sensitive help problem?
    By lalitsharma in forum Symbian
    Replies: 0
    Last Post: 2005-08-10, 13:15

Posting Permissions

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