×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2003
    Location
    Jakarta, Indonesia
    Posts
    53

    Dialog button vs softkey button

    Hi Symbianish..

    I created a button handling for the left softkey and right key on OfferKeyEvent function, so if the user push the left or right softkey the app do something. Somewhere in my application, I also made a dialog using iEikonEnv->InfoWInL function. This function showed up a dialog with a right button keys, so when i push the button, the dialog dissappear.
    The problem is I have defined right or left softkey handling, so when the dialog appear with its button, The result of pushing the buton on dialog will also execute the event that I have defined on Offerkeyfunction. How can I differ those button? So when I push on dialog, the dialog just dissapear, and not executed the event generated by OfferKeyEvent function.

    Lots of thanks

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    34

    Re: Dialog button vs softkey button

    Apitoman,

    You can differentiate the softkeys by checking the ID of the softkeys in the function where u are handling the press.

    DJ

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

    Re: Dialog button vs softkey button

    Note that this question was asked almost 7.5 years ago.
    Generally InfoWinL is not an input control, that is why it has no result. QueryWinL has a TBool result because it asks a Yes/No question.

Posting Permissions

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