×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    45

    Get Cascade Menu pointer

    Hi experts,

    I'd need to get a pointer to the cascade menu if it exists and I am trying to use
    CEikMenuPane* CascadeMenuPane() from the current CEikMenuPane which has the cascade menu.

    The problem is that even if I include the needed libraries (from SDK eikcore.lib and eikcoctl.lib) I get a linker error.

    I am using the s60 3rd edition SDK (system vs. 9.1) with MetroWerks CodeWarrior 3.1.

    Does anyone know why it does not work and possibly how to solve the problem ?

    Thanks,
    Stefano.

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

    Re: Get Cascade Menu pointer

    And what is that linker error?

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    45

    Re: Get Cascade Menu pointer

    The linker error is the following:

    tool exit status == 1

    Errors caused tool to abort.

    Link Error : Undefined symbol: 'class CEikMenuPane * CEikMenuPane::CascadeMenuPane(void) (?CascadeMenuPane@CEikMenuPane@@QAEPAV1@XZ)'

    referenced from 'void CExampleFep::SetKeyPressed(int) (?SetKeyPressed@CExampleFep@@QAEXH@Z)' in fepexample.cpp:173

    Could Not Find C:\Projects\S60_Platform_FEP_Example_v2_0_en\FepExample\group\fepexample_S60_3rd_ed_Data\WINSCW_UDEB\fepexample.dll

    tool exit status == 1

    Errors caused tool to abort.

    # Specified file 'C:\Projects\S60_Platform_FEP_Example_v2_0_en\FepExample\group\fepexample_S60_3rd_ed_Data\WINSCW_UDEB\fepexample.lib'
    not found

    tool exit status == 2

    Link Error : MAKEDEF ERROR: C:\Projects\S60_Platform_FEP_Example_v2_0_en\FepExample\group\fepexample_S60_3rd_ed_Data\WINSCW_UDEB\fepexample.inf:
    Inffile not found

    Could Not Find C:\Projects\S60_Platform_FEP_Example_v2_0_en\FepExample\group\fepexample_S60_3rd_ed_Data\WINSCW_UDEB\fepexample.inf

    Could Not Find C:\Projects\S60_Platform_FEP_Example_v2_0_en\FepExample\group\fepexample_S60_3rd_ed_Data\WINSCW_UDEB\fepexample.lib

    tool exit status == 1

    Errors caused tool to abort.

    Link Error : Undefined symbol: 'class CEikMenuPane * CEikMenuPane::CascadeMenuPane(void) (?CascadeMenuPane@CEikMenuPane@@QAEPAV1@XZ)'

    referenced from 'void CExampleFep::SetKeyPressed(int) (?SetKeyPressed@CExampleFep@@QAEXH@Z)' in fepexample.cpp:173

    Thanks,
    Stefano.

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

    Re: Get Cascade Menu pointer

    Have you actually re-imported (Project/Re-import...) your .mmp after modifying it?

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    45

    Re: Get Cascade Menu pointer

    yes, I have done it and it does not work.
    I get the same linker error.

    Thanks,
    Stefano.

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

    Re: Get Cascade Menu pointer

    CascadeMenuPane@CEikMenuPane@@QAEPAV1@XZ
    Sorry, you are right. There is no such symbol in any of the library files.

  7. #7
    Registered User
    Join Date
    Sep 2006
    Posts
    45

    Re: Get Cascade Menu pointer

    Why is it listed in the SDK with its library reference then ? Very strange. Well, do you know if there is any other way to get the cascade menu pointer having the base menu pane pointer ? I am doing a menu observer and I really need to know if there is a way to do it.

    Thank you very much,
    Stefano.

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

    Re: Get Cascade Menu pointer

    I do not know FEP-s, but as I imagine your menu observer should be notified when a cascade menu opens.

Similar Threads

  1. Replies: 3
    Last Post: 2006-11-23, 17:24
  2. creating menu and sub menu
    By hasiamar in forum Symbian User Interface
    Replies: 3
    Last Post: 2006-10-23, 16:21
  3. Linux driver in RedHat 7.3
    By nsolhjoo in forum Multimodecards
    Replies: 0
    Last Post: 2003-10-24, 17:04
  4. Cascade Menu item with icon
    By mikkyt in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-05-12, 12:18
  5. Dim cascade item from a menu pane
    By sguillem in forum Symbian User Interface
    Replies: 3
    Last Post: 2003-05-12, 03:44

Posting Permissions

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