×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    5

    Complie errors when trying to hide menu item

    I was trying to hide one of the menu item when compile i got two errors>> use of undefined type 'CEikMenuPane ' and >>left of '->SetItemDimmed' must point to class/strut/union

    Did miss out something??

    //Source
    void CAgisSisTesterAppUi:ynInitMenuPaneL(TInt aResourceId, CEikMenuPane *aMenuPane)

    {
    if ( aResourceId == R_AST_MENU )

    aMenuPane->SetItemDimmed( ECmd, EFalse ); <--error here

    }

  2. #2
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    153
    Hi,

    Include this header file eikmenup.h

    Regards,
    Sunil

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    5
    Hi Sunil,

    I added that before but the application closes when i click on the
    menu.

  4. #4
    Registered User
    Join Date
    Jan 2005
    Posts
    5
    My mistake now it works, i put into the wrong file before

    Thks Sunil

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    5
    Was wondering if i can have different menubar after zooming of an image. Do i need to have another view?


    Thks in advance!

Posting Permissions

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