Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    I create a edwin from resource.But when the edwin displayed, there is a extra menu added in the option "writing language". It is used to change input method between English and Chinese. Does anbody know how to remove this menu from option. I think it is added by the framework automatically.

  2. #2
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    Does anyone know this?

  3. #3
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    hi whitewinds,

    In DynInitMenupaneL() in application appui, u verify the flag, if that flag is true, disable menu item. Make flag true when u display edwin.

  4. #4
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    Thanks a lot.
    But can you explain more detail about the flag.
    Accually, I don't have the DynInitMenupaneL() in application appui.

  5. #5
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    Hi,

    DynInitMenuPaneL() function is derived from CAknAppUi, it takes the parameters, resource id and menupane.

    resource id is your menu id, it's like this,

    void CHelloworldappui:ynInitMenuPaneL(TInt resourceid,CEikMenuPane *aMenupane)
    {
    if(resourceid==R_HELLOWORLD_MENU)
    {
    if(flag)
    {
    aMenupane->SetItemDimmed(EFirst,ETrue);//this is which command u want to disable
    }
    }
    }

    it will helps u...

  6. #6
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    Thanks, but the "writing language" command appeared automatically. It is not in my menupane that I defined. It only appeared accompany with the appearance of EDWIN.
    So how can I specify the ID in SetItemDimmed.

  7. #7
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    Could somebody answer me?

  8. #8
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    Hi,

    In you .rss file check in menu's which contains the text "writing in language" if any menu find the text, just put in comments or delete.

    regards,
    eswar

  9. #9
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    Actually, there is not a string which contains "writing in language", even "writing" in resource file.
    This menu item displayed automatically accompany with the appearing of edwin. It allows the user to change inputting language of edwin. I think it is the phone operating system added it automatically.

  10. #10
    Super Contributor eswar_illuri's Avatar
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704
    Hi,

    Once u check ur edwin properties in .rss file.

    regards,
    eswar

  11. #11
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    sorry, I do not understand. Could you please explain more?

  12. #12
    Regular Contributor whitewinds's Avatar
    Join Date
    Feb 2005
    Posts
    151
    Could you explain more?

  13. #13
    Registered User Arun_Sirrpi's Avatar
    Join Date
    Apr 2008
    Posts
    5
    hi whitewinds,

    I am having the same problem. Did u manage to find a solution to it.

    Cheers
    Arun

Similar Threads

  1. How to desactivate the Menu Key ?...
    By GeKI in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-22, 10:02
  2. How to display writing language menu?
    By mike.b in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-11-02, 17:02
  3. 5140 3.10: Language in adding words to T9
    By olexa in forum General Development Questions
    Replies: 3
    Last Post: 2004-08-04, 19:29
  4. Menu bar in FEP
    By kdinn in forum Symbian C++
    Replies: 0
    Last Post: 2004-05-27, 08:07
  5. Replies: 0
    Last Post: 2003-08-25, 10:29

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