×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    177

    Question newbie: 2 questions about symbian programming

    Hey

    Environment:
    2nd Edition SDK Feature Pack 2
    Carbide.c++ Express

    I'm trying to learn symbian so I'm now trying to develop a simple helloworld app that uses List (CAknSingleGraphicStyleListBox)...

    Q1:
    So in Carbide.c++ I'm trying to create a .mbm file. -> in the window "New MBM Definition File" of the wizard for creating .mbm file, I must here enter "Container". What is it I must enter in that field?

    Q2:
    I'm following the SimpleList example that came with the book "Developing Series 60 Applications" and this code troubles me:
    iSavedGamesListBox = new (ELeave) CAknSingleStyleListBox;
    iSavedGamesListBox->ItemDrawer()->ColumnData()->SetIconArray(icons);
    I've checked the symbian documentation (2nd Edition SDK Feature Pack 2) and I cannot find ItemDrawer() as a method of CAknSingleGraphicStyleListBox. How can the CAknSingleGraphicStyleListBox instance call ItemDrawee() using "->", if ItemDrawer() isn't as far as I know a member of CAknSingleGraphicStyleListBox??? please give me some tips on this one...

    Please help me with these questions

    Audun

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: newbie: 2 questions about symbian programming

    1) The container would be the folder in which the new mbm definition file is to be created.

    See this page in Carbide's help (the help needs to be opened for this link to actualy work)

    And here is another helpful help page.

    2) CAknSingleGraphicStyleListBox is derived from CEikColumnListBoxTypedef which in turn is a typedef of AknListBoxLinesTemplate<CAknColumnListBox> and that makes it a derivation of CAknColumnListBox which in turn is derived from CEikColumnListBox (see eikclb.h)

    That means that you are actualy calling
    CColumnListBoxItemDrawer* CEikColumnListBox::ItemDrawer() const;

  3. #3
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    177

    Re: newbie: 2 questions about symbian programming

    Thanks for the reply!

    BTW: the links you posted points at localhost (127.0.0.1) so therefor I can't open those links you sent me...

  4. #4
    Regular Contributor
    Join Date
    Jun 2006
    Posts
    177

    Re: newbie: 2 questions about symbian programming

    I understand - those links was the carbide documentation, I'm reading it now...

    many thanks!

Similar Threads

  1. Symbian S80 Development Newbie Questions
    By VirGin in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-01-02, 06:20
  2. Current Symbian Development Opportunities...!!
    By mobile2004 in forum Symbian
    Replies: 0
    Last Post: 2005-01-17, 17:58
  3. Replies: 0
    Last Post: 2004-05-21, 11:16
  4. Replies: 2
    Last Post: 2004-05-08, 09:09
  5. Questions about Symbian OS socket programming
    By cs_lcmaa in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2002-12-09, 04:58

Posting Permissions

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