×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    12

    AVKON Resources structure

    hi,
    I'm developing for the 60 series (the 7650 device).
    Where can I found the resource structure specification for the CAknSettingPage Controls family, and should I work with then. It seems there is no example for those controls.
    Also what is the difference between CAknSettingPage and the CAknSettingItemList ?
    I'm really need help on that.
    THANKS
    Yuval

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    260

    RE: AVKON Resources structure

    CAknSettingItemList provides a list of settings items that can be selected for editing or toggling values. CAknSettingPage provides a full page editing for specific settings. Here is an example:

    You create a setting list using CreateListBoxL(R_EXAMPLE_SETTING_LIST);

    RESOURCE AVKON_SETTING_ITEM_LIST r_example_setting_list
    {
    flags= EAknSettingItemNumberedStyle;
    title = "Some settings";
    initial_number = 1;
    items =
    {
    AVKON_SETTING_ITEM
    {
    identifier = EExampleVolume; // enum this in hrh
    setting_page_resource = r_example_volume_setting_page;
    name = "Volume";
    }
    .... Other selection list items...
    };
    }

    And the Settingpage:

    RESOURCE AVKON_SETTING_PAGE r_example_volume_setting_page
    {
    number = 1;
    label = "Volume";
    type = EAknCtVolumeControl;
    editor_resource_id = r_example_volume;
    }

    RESOURCE VOLUME r_example_volume
    {
    flags = ESettingsVolumeControl;
    value = VOL_SETTING_PAGE_VAL;
    }

    I hope this helps!


    Sincerely,

    Developer Support
    Forum Nokia

Posting Permissions

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