×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2006
    Location
    europe
    Posts
    35

    Question SetFade on RWindowGroup or SetDefaultFadingParameters on RWsSession

    Hi all,

    is there somebody who played around with fading of windows?
    I want to have a special kind of pop up (window owning, derived from CCoeControl). While this pop up is showing, the rest of the application should fade. (Call FadeBehind(ETrue) on the window of the pop up does the job).
    So far so nice. Now the problem is:
    I want to have different fading parameters (e.g. 30, 80). On the emulator it works perfectly (it fades to Grey), on the device these parameters are just ignored.
    I tried to set the fading parameters using

    CCoeEnv::Static()->WsSession().SetDefaultFadingParameters(30, 80);

    as well as

    CCoeEnv::Static()->RootWin().SetFaded(ETrue, RWindowTreeNode::EFadeIncludeChildren, 30, 80);

    It did not work :-(
    Somebody with an idea?
    BTW: My device is a N73. SDK is S60 3rd edition.

    Thanks in advance,
    Frank

  2. #2
    Registered User
    Join Date
    Aug 2006
    Location
    europe
    Posts
    35

    Re: SetFade on RWindowGroup or SetDefaultFadingParameters on RWsSession

    No one with an idea?
    The interesting thing is: i also tried to draw with a faded Gc. This is also not working! It get's faded, but using the system default parameters and not the fading parameters I set using SetFadingParameters.

    Is it possible that a device comes with fixed fading parameters?

  3. #3
    Registered User
    Join Date
    Apr 2005
    Posts
    1

    Re: SetFade on RWindowGroup or SetDefaultFadingParameters on RWsSession

    At least for SetDefaultFadingParameters you will need caps WriteDeviceData.. see e.g. http://developer.uiq.com/devlib/uiq_.../WSERV8.1.html

Similar Threads

  1. Retrieving a RWindowGroup through ID
    By gdesantos in forum Symbian
    Replies: 0
    Last Post: 2006-09-08, 12:03
  2. Replies: 4
    Last Post: 2006-04-30, 12:19
  3. closing window created through RWindowGroup
    By nitrajpal in forum Symbian
    Replies: 1
    Last Post: 2005-08-10, 12:11
  4. Need help about RWindowGroup
    By carmelo1966 in forum Symbian
    Replies: 0
    Last Post: 2004-09-09, 08:12
  5. About RWindowGroup
    By carmelo1966 in forum Symbian
    Replies: 0
    Last Post: 2004-09-07, 09:36

Posting Permissions

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