×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    107

    ReDraw Even not passing to child control after incoming call is Disconnected

    I have a Componet Control which has two child controls
    When Component control (Container) is active and when the incoming call occurs I answer the call , At this particular moment my application comes to foreground with the phone icon on the right corner indicating that the call is active when I press the End Key the call is disconnected but the area where phone icon is there gets faded and remains faded until any key is pressed.

    Now With Some research I found that after pressing the end key Containers Draw Function is called but its child controls Draw Function is not called

    Can any one tell me what could be the reaon for this behaviour

    ReDraw Event by Framework not passed to Child Controls


    With Regards

  2. #2
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: ReDraw Even not passing to child control after incoming call is Disconnected

    If you are calling DrawNow from the container control then it should and will call the Draw on the component controls.
    --Mayur.

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: ReDraw Even not passing to child control after incoming call is Disconnected

    Is your implementation of ComponentControl/CountComponentControls correct?
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  4. #4
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    107

    Re: ReDraw Even not passing to child control after incoming call is Disconnected

    Quote Originally Posted by mayur_24
    If you are calling DrawNow from the container control then it should and will call the Draw on the component controls.
    --Mayur.
    I am not and I dont want to perform the call handling its by default when
    the end key is pressed a FrameWork Sends a Redraw event . So at this point
    the Draw does not call the child controls

    With Regards

  5. #5
    Super Contributor
    Join Date
    Jun 2004
    Location
    SymbianLand
    Posts
    763

    Re: ReDraw Even not passing to child control after incoming call is Disconnected

    The framework can pass the events to the component controls only if the container fulfills its responsibility properly.
    The container should then fulfill the responsibility by implementing the ComponentControl and CountComponentControl functions properly.
    One crazy idea would be to add the component controls to the control stack as well.
    I think that would solve your problem.
    --Mayur.

Similar Threads

  1. Replies: 7
    Last Post: 2011-06-02, 11:35
  2. how to simulate incoming call event in Emulator?? egent !!
    By wjcrr in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2007-05-11, 03:58
  3. Active Objects & Incoming Call Problem
    By jguzman in forum Symbian
    Replies: 5
    Last Post: 2007-03-21, 22:01
  4. Bring App to foreground on incoming call
    By ag24master in forum Symbian
    Replies: 3
    Last Post: 2006-06-30, 13:00
  5. 7650, keeping control of incoming calls...
    By AComley in forum Symbian
    Replies: 1
    Last Post: 2003-02-28, 14:41

Posting Permissions

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