×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Cool DynInitMenuPaneL is ignored

    I can not see the problem why my DynInitMenuPaneL() method in my appui is ignored at all. It is not called at all. Here is my appui class. I checked case, declaration, no single call:/

    Code:
    class CScAppUi : public CAknViewAppUi
        {
    public:
        static const TPtrC KLogFile;    
        
    public: 
        // constructor and destructor
        CScAppUi();
        virtual ~CScAppUi();
        void ConstructL();
        
        void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
    ...
    ...
    }
    Code:
    void CScAppUi::DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane)
    {
        Logger::WriteLogMessage(_L("CScAppUi::DynInitMenuPaneL(..)>>>"));    
        
        Logger::WriteLogMessage(_L("CScAppUi::DynInitMenuPaneL(..)<<<"));    
    }

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,988

    Re: DynInitMenuPaneL is ignored

    put your DynInitMenuPaneL() code in your view class rather then putting in AppUi class.

    refer the following post :

    http://discussion.forum.nokia.com/fo...d.php?p=531113

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Re: DynInitMenuPaneL is ignored

    I was debugging an old version - and I did not update the version number in the debug configuration >:(
    Last edited by elviin; 2009-07-30 at 15:40.

  4. #4
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Re: DynInitMenuPaneL is ignored

    Hi,

    is it possible to traverse somehow to menu instance directly if I'm already in the view. I just need to hide some items in menu. As I understand the method DynInitMenuPaneL is called only if a view is being activated.

Similar Threads

  1. Problem in DynInitMenuPaneL in 5.x
    By yosr eman in forum Symbian User Interface
    Replies: 3
    Last Post: 2009-03-05, 18:37
  2. Replies: 3
    Last Post: 2007-02-16, 07:47
  3. DynInitMenuPaneL
    By advocatee in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-09-29, 15:25
  4. Replies: 0
    Last Post: 2003-02-25, 07:46
  5. DynInitMenuPaneL
    By Jeepy in forum Symbian
    Replies: 0
    Last Post: 2003-02-24, 16:06

Posting Permissions

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