×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    252

    Question how to set icon on control pane

    hello all,
    Iwant to set some text on control pane .i have tried some methods like SetCommandL(..)
    of CEikButtonGroupContainer.
    but it successfully set text on button but can't set icon on it.

    Is it possible on s60.here below is my code

    CEikButtonGroupContainer* pCba = Cba();
    if (pCba == NULL)
    return;
    _LIT(KIconFile,"Z:\\resource\\apps\\player.mbm");
    pCba->SetCommandL(EMobileDMRCommandBack,_L("exit"),KIconFile,EMbmPlayerDownload_progress, EMbmPlayerDownload_progress_mask);

    here it compiles and runs fine. but only set text not icon.

    Thanks

  2. #2
    Regular Contributor
    Join Date
    Nov 2007
    Location
    Ukraine
    Posts
    56

    Re: how to set icon on control pane

    hi,
    try to load Image manualy
    and when you load it successfully
    try to set it as cba icons

    also may be you have wrong icon size, havn't you

  3. #3
    Regular Contributor
    Join Date
    Feb 2008
    Posts
    252

    Thumbs down Re: how to set icon on control pane

    hello,

    sashaslonmailer, image loading process is correct.
    but what should be the image size for cba button.

    thanks

Similar Threads

  1. Replies: 3
    Last Post: 2009-02-28, 13:57
  2. Status pane icon in Carbide.C++ wizard generated code
    By JohnAndy in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-02-16, 17:03
  3. Displaying icon in Status Pane
    By vniles in forum Symbian C++
    Replies: 2
    Last Post: 2006-12-29, 11:15
  4. N80 midlet icon problem revisited... questions
    By kounapuu in forum Mobile Java General
    Replies: 1
    Last Post: 2006-10-07, 20:15
  5. unwanted icon set with voicemail
    By gfsmith in forum General Messaging
    Replies: 0
    Last Post: 2005-01-14, 14:25

Posting Permissions

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