×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2004
    Location
    Mumbai - India
    Posts
    155

    Question on setting img+mask img in tab, it shows mask img two times

    I'm adding tab in this way..
    iTabGroup->AddTabL(iX + 1, iSrcImg, iSrcImgMask);
    On display it shows masked image two times.

    Perheps its related to
    enum TAknTabDataType
    {
    EAknTabNone,
    EAknTabText,
    EAknTabIcon,
    EAknTabTextAndIcon
    };
    present in akntabgrp.h

    But How to use these enum ?



    saurabhg

  2. #2
    Regular Contributor
    Join Date
    Nov 2004
    Location
    Mumbai - India
    Posts
    155

    Re: on setting img+mask img in tab, it shows mask img two times

    Did nobody used navi pane function.

    iTabGroup->AddTabL(iX, tabText, iSrcImg, iSrcImgMask);

    I want transparent img in navi pane. But this function is not showing desired result. Instead it just shows mask img.


    saurabh

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: on setting img+mask img in tab, it shows mask img two times

    Hi,

    did you solve this?? I put pointer to b&w mask as a second parameter and exactly as you've said it displays mask only:((( How it can be solved? Different image depth? Setting some flags? Or it is just a bug, I have no time to play with it...

    Bye and thank you for the response
    STeN

  4. #4
    Regular Contributor
    Join Date
    Nov 2004
    Location
    Mumbai - India
    Posts
    155

    Lightbulb Re: on setting img+mask img in tab, it shows mask img two times

    I increased width of image. It solved my problem of showing multiple imgs.

    IInd revere parameters. i.e.
    instead of iTabGroup->AddTabL(iX, tabText, iSrcImg, iSrcImgMask);
    use iTabGroup->AddTabL(iX, tabText, iSrcImgMask, iSrcImg);

    Even today I can't believe it works but it works :)



    saurabh

Posting Permissions

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